summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-06 22:27:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-06 22:27:31 +0000
commit4341f4b5e6e7024b38fdc75b1acd9956fa70f604 (patch)
treee52bc93133dc4742ac435a1361279794a744c11e /src/mode.cpp
parent57ab7451aff091397a2c2975b1ea7678ac72ca49 (diff)
Removed some debug notices that were mistakenly in the DEFAULT loglevel
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3112 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index 993f6cd74..60df3e7d8 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -96,10 +96,9 @@ char* ModeParser::GiveOps(userrec *user,char *dest,chanrec *chan,int status)
if ((d->chans[i].channel != NULL) && (chan != NULL))
if (!strcasecmp(d->chans[i].channel->name,chan->name))
{
- if (d->chans[i].uc_modes & UCMODE_OP)
+ if (d->chans[i].uc_modes & UCMODE_OP)
{
/* mode already set on user, dont allow multiple */
- log(DEFAULT,"The target user given to GiveOps was already opped on the channel");
return NULL;
}
d->chans[i].uc_modes = d->chans[i].uc_modes | UCMODE_OP;