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)