summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)