summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-27 20:09:15 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-10-27 20:09:15 +0000
commitbfdb4a75ff77278b6f9819677ffc94d877f4d62a (patch)
tree1803192fc747483299ae3a36641ddb5b167b8ab5 /src
parente63eb1ff79562dec036598ddbdd18df71d8d6ffc (diff)
<pid file> is no longer a manditory tag (thanks dotslasher)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5556 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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++;
}