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:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user