diff options
Diffstat (limited to 'src/modules/m_services.cpp')
-rw-r--r-- | src/modules/m_services.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_services.cpp b/src/modules/m_services.cpp index af4616793..fc07708c2 100644 --- a/src/modules/m_services.cpp +++ b/src/modules/m_services.cpp @@ -209,7 +209,7 @@ class ModuleServices : public Module virtual void OnUserPostNick(userrec* user, const std::string &oldnick) { /* On nickchange, if they have +r, remove it */ - if (user->IsModeSet('r') && !(irc::string(user->nick) == oldnick)) + if (user->IsModeSet('r') && irc::string(user->nick) != oldnick) { const char* modechange[2]; modechange[0] = user->nick; |