use new != operator :p

git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7606 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
peavey 2007-07-28 19:48:16 +00:00
parent 694e3ba4c7
commit 25b3224dda

View File

@ -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;