diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-28 19:48:16 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-28 19:48:16 +0000 |
commit | 25b3224ddac4a9a0516e641a9f8ae4ae2c7cb39a (patch) | |
tree | cdf4b0d8d5e838c8f30556a7a81fba714d4a8331 /src | |
parent | 694e3ba4c752e75aaf69f4d03917134100f49b0b (diff) |
use new != operator :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7606 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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; |