예제 #1
0
 public static void server_OnUserConnected(object sender, UserConnectedEventArgs e)
 {
     if (e.Client != null && e != null && Config.MotdPath != "")
         Handler.MotdCommand(e.Client, Config.MotdPath);
 }
예제 #2
0
 protected virtual void OnUserConnected(UserConnectedEventArgs e)
 {
     EventHandler<UserConnectedEventArgs> handler = UserConnected;
     if (handler != null)
         handler(this, e);
 }