summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/channels.cpp4
-rw-r--r--src/configreader.cpp2
-rw-r--r--src/users.cpp1
3 files changed, 5 insertions, 2 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index de698883f..9ef1180c6 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -1009,12 +1009,16 @@ void chanrec::SetPrefix(userrec* user, char prefix, unsigned int prefix_value, b
n->second.erase(x);
}
}
+ ServerInstance->Log(DEBUG,"Added prefix %c to %s for %s, prefixlist size is now %d", prefix, this->name, user->nick, prefixes.size());
}
void chanrec::RemoveAllPrefixes(userrec* user)
{
prefixlist::iterator n = prefixes.find(user);
if (n != prefixes.end())
+ {
+ ServerInstance->Log(DEBUG,"Removed prefixes from %s for %s, prefixlist size is now %d", this->name, user->nick, prefixes.size());
prefixes.erase(n);
+ }
}
diff --git a/src/configreader.cpp b/src/configreader.cpp
index 0dd5745d1..a14658a7a 100644
--- a/src/configreader.cpp
+++ b/src/configreader.cpp
@@ -518,7 +518,7 @@ void ServerConfig::Read(bool bail, userrec* user)
std::ostringstream errstr; /* String stream containing the error output */
/* These tags MUST occur and must ONLY occur once in the config file */
- static char* Once[] = { "server", "admin", "files", "power", "options", "pid", NULL };
+ static char* Once[] = { "server", "admin", "files", "power", "options", NULL };
/* These tags can occur ONCE or not at all */
static InitialConfig Values[] = {
diff --git a/src/users.cpp b/src/users.cpp
index c98a69025..fd0a6f8dc 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1012,7 +1012,6 @@ long userrec::GlobalCloneCount()
/* We have to match ip's as strings - we don't know what protocol
* a remote user may be using
*/
- ServerInstance->Log(DEBUG,"Match %s against %s", a->second->GetIPString(), u2);
if (strcasecmp(a->second->GetIPString(), u2) == 0)
x++;
}