From 25b3224ddac4a9a0516e641a9f8ae4ae2c7cb39a Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 28 Jul 2007 19:48:16 +0000 Subject: use new != operator :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7606 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_services.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules') 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; -- cgit v1.2.3