From 1bfafd9eb6ba10a3b9131c1df720bd01ebaa1dae Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 26 Nov 2012 04:30:30 -0500 Subject: [PATCH] Fixed rehasing doing weird things to botmodes due to trying to set on nick not uid --- src/config.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)