mirror of
https://github.com/anope/anope.git
synced 2026-06-27 18:06:39 +02:00
Send uids everywhere when setting modes on clients
This commit is contained in:
@@ -170,7 +170,7 @@ class UnrealIRCdProto : public IRCDProto
|
||||
BotInfo *setter = findbot(user->nick);
|
||||
for (unsigned i = 0; i < ModeManager::ChannelModes.size(); ++i)
|
||||
if (cs.HasFlag(ModeManager::ChannelModes[i]->Name))
|
||||
c->SetMode(setter, ModeManager::ChannelModes[i], user->nick, false);
|
||||
c->SetMode(setter, ModeManager::ChannelModes[i], user->GetUID(), false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user