summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 22:59:36 +0000
committerrburchell <rburchell@5417fbe8-f217-4b02-8779-1006273d7864>2009-02-16 22:59:36 +0000
commitf756f2b394fa286919e5d5c0f63d7be3824bfb34 (patch)
tree40cad97072a64cdce2a37bec55fcc19a301a798c /src
parent7ea34be0b8dad292095a99307ebcaba28c7b3a59 (diff)
Fix compile warning.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2100 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src')
-rw-r--r--src/nickserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nickserv.c b/src/nickserv.c
index a9d2d8e3a..73bdc2cf2 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 (u = finduser(na->nick))
+ if ((u = finduser(na->nick)))
{
if (ircd->modeonunreg)
common_svsmode(finduser(na->nick), ircd->modeonunreg, "1");