1
0
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:
Adam
2012-10-30 21:22:10 -04:00
parent 26a4a13cdf
commit 1730bfb2bc
13 changed files with 51 additions and 32 deletions
+1 -1
View File
@@ -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);
}
}