summaryrefslogtreecommitdiff
path: root/src/config.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2012-11-26 04:30:30 -0500
committerAdam <Adam@anope.org>2012-11-26 04:30:30 -0500
commit1bfafd9eb6ba10a3b9131c1df720bd01ebaa1dae (patch)
treedc70ed6fc41db711965a81ff7b3d53eda75809e4 /src/config.cpp
parent1bdb756b258e2acce1db96584b540f452370e1a8 (diff)
Fixed rehasing doing weird things to botmodes due to trying to set on nick not uid
Diffstat (limited to 'src/config.cpp')
-rw-r--r--src/config.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp
index 8078da0ce..339a946f5 100644
--- a/src/config.cpp
+++ b/src/config.cpp
@@ -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)