summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 54f9fb524..ff3c7aa38 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -5803,7 +5803,7 @@ void handle_n(char token,char* params,serverrec* source,serverrec* reply, char*
userrec* user = Find(oldnick);
- if (!user)
+ if (user)
{
WriteCommon(user,"NICK %s",newnick);
user = ReHashNick(user->nick, newnick);