summaryrefslogtreecommitdiff
path: root/src/users.c
diff options
context:
space:
mode:
authorAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-27 01:51:14 +0000
committerAdam- <Adam-@5417fbe8-f217-4b02-8779-1006273d7864>2010-05-27 01:51:14 +0000
commita5ddbb0217af75606c7c694e54d771a8bde8d834 (patch)
tree1a6d89331be9c4033465922ec930ef37d8b18a48 /src/users.c
parent3d396f245b99b7469b742f45639367e47d6f7456 (diff)
Fixed some compiler warnings found on 64bit systems
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2989 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/users.c')
-rw-r--r--src/users.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.c b/src/users.c
index 16d85796d..e6853eeeb 100644
--- a/src/users.c
+++ b/src/users.c
@@ -498,7 +498,7 @@ void User::UpdateHost()
{
NickAlias *na = findnick(this->nick);
- if (na && (this->nc && na->nc == this->nc || !na->nc->HasFlag(NI_SECURE) && IsRecognized()))
+ if (na && ((this->nc && na->nc == this->nc) || (!na->nc->HasFlag(NI_SECURE) && IsRecognized())))
{
if (na->last_usermask)
delete [] na->last_usermask;