summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/nickserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index e1fe3fae9..a9d2d8e3a 100644
--- a/src/nickserv.c
+++ b/src/nickserv.c
@@ -1111,7 +1111,7 @@ int delnick(NickAlias * na)
/* Second thing to do: look for an user using the alias
* being deleted, and make appropriate changes */
- if (finduser(na->nick))
+ if (u = finduser(na->nick))
{
if (ircd->modeonunreg)
common_svsmode(finduser(na->nick), ircd->modeonunreg, "1");