mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 12:05:51 -04:00
Show reason for kick from IRC
This commit is contained in:
parent
27b3b0950d
commit
cc5550fd8d
@ -427,8 +427,10 @@ namespace MCGalaxy {
|
||||
void Listener_OnKick(UserInfo user, string channel, string kickee, string reason) {
|
||||
List<string> chanNicks = GetNicks(channel);
|
||||
RemoveNick(user.Nick, chanNicks);
|
||||
Server.s.Log(user.Nick + " kicked " + kickee + " from IRC");
|
||||
Player.GlobalIRCMessage("%I(IRC) " + user.Nick + " kicked " + kickee);
|
||||
|
||||
if (reason != "") reason = " (" + reason + ")";
|
||||
Server.s.Log(user.Nick + " kicked " + kickee + " from IRC" + reason);
|
||||
Player.GlobalIRCMessage("%I(IRC) " + user.Nick + " kicked " + kickee + reason);
|
||||
}
|
||||
|
||||
void Listener_OnKill(UserInfo user, string nick, string reason) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user