summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/inspircd_io.cpp2
-rw-r--r--src/mode.cpp3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/inspircd_io.cpp b/src/inspircd_io.cpp
index 7c4a8cb42..3788055a4 100644
--- a/src/inspircd_io.cpp
+++ b/src/inspircd_io.cpp
@@ -775,7 +775,7 @@ bool ServerConfig::LoadConf(const char* filename, std::stringstream *target, std
break;
}
}
- log(DEFAULT,"Opening included file '%s'",buf);
+ log(DEBUG,"Opening included file '%s'",buf);
if (*buf != '/')
{
strlcpy(confpath,CONFIG_FILE,10240);
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;