mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
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:
parent
694e3ba4c7
commit
25b3224dda
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user