diff options
author | Adam <Adam@anope.org> | 2012-11-26 04:30:30 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-11-26 04:30:30 -0500 |
commit | 1bfafd9eb6ba10a3b9131c1df720bd01ebaa1dae (patch) | |
tree | dc70ed6fc41db711965a81ff7b3d53eda75809e4 /src/config.cpp | |
parent | 1bdb756b258e2acce1db96584b540f452370e1a8 (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.cpp | 2 |
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) |