summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;