summaryrefslogtreecommitdiff
path: root/src/botserv.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/botserv.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/botserv.c')
-rw-r--r--src/botserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/botserv.c b/src/botserv.c
index 893d3af3b..8998e888e 100644
--- a/src/botserv.c
+++ b/src/botserv.c
@@ -746,7 +746,7 @@ void bot_raw_ban(User * requester, ChannelInfo * ci, char *nick, const char *rea
ci->c->SetMode(NULL, CMODE_BAN, mask);
/* Check if we need to do a signkick or not -GD */
- if (ci->HasFlag(CI_SIGNKICK) || ci->HasFlag(CI_SIGNKICK_LEVEL) && !check_access(requester, ci, CA_SIGNKICK))
+ if (ci->HasFlag(CI_SIGNKICK) || (ci->HasFlag(CI_SIGNKICK_LEVEL) && !check_access(requester, ci, CA_SIGNKICK)))
ci->c->Kick(ci->bi, u, "%s (%s)", reason ? reason : ci->bi->nick.c_str(), requester->nick.c_str());
else
ci->c->Kick(ci->bi, u, "%s", reason ? reason : ci->bi->nick.c_str());