mirror of
https://github.com/anope/anope.git
synced 2026-06-26 09:56:38 +02:00
Send uids everywhere when setting modes on clients
This commit is contained in:
@@ -94,7 +94,7 @@ class PlexusProto : 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