From 4341f4b5e6e7024b38fdc75b1acd9956fa70f604 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 6 Feb 2006 22:27:31 +0000 Subject: 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 --- src/inspircd_io.cpp | 2 +- src/mode.cpp | 3 +-- 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; -- cgit v1.2.3