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