1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 19:06:39 +02:00

Fixed rehasing doing weird things to botmodes due to trying to set on nick not uid

This commit is contained in:
Adam
2012-11-26 04:30:30 -05:00
parent 1bdb756b25
commit 1bfafd9eb6
+1 -1
View File
@@ -983,7 +983,7 @@ static bool DoServices(ServerConfig *config, const Anope::string &, const Anope:
{
ChannelMode *cm = ModeManager::ChannelModes[i];
if (cm && cm->type == MODE_STATUS)
c->RemoveMode(bi, cm, bi->nick);
c->RemoveMode(bi, cm, bi->GetUID());
}
/* Set the new modes */
for (unsigned j = 0; j < want_modes.length(); ++j)