summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-14 20:43:39 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-14 20:43:39 +0000
commit29d6347953508d2f67c10440e3f548d281d1b515 (patch)
treefe09c667c0098903799bc8300d844bf579b28903 /src/users.cpp
parent458a3297e436bcc9546f4e1377910c88c4478c3e (diff)
Remove misc debug
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5991 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 033cd227f..4408c1938 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -789,10 +789,6 @@ void userrec::QuitUser(InspIRCd* Instance, userrec *user, const std::string &qui
user->WriteCommonExcept("QUIT :%s",reason.c_str());
FOREACH_MOD_I(Instance,I_OnUserQuit,OnUserQuit(user,reason));
}
- else
- {
- Instance->Log(DEBUG,"FULL'O'FAIL! user->registered is %d, REG_ALL is %d", user->registered, REG_ALL);
- }
FOREACH_MOD_I(Instance,I_OnUserDisconnect,OnUserDisconnect(user));
@@ -1962,13 +1958,11 @@ ConnectClass& userrec::GetClass()
void userrec::PurgeEmptyChannels()
{
- ServerInstance->Log(DEBUG,"In PurgeEmptyChannels");
std::vector<chanrec*> to_delete;
// firstly decrement the count on each channel
for (UCListIter f = this->chans.begin(); f != this->chans.end(); f++)
{
- ServerInstance->Log(DEBUG,"Iterate channel %s", f->first->name);
f->first->RemoveAllPrefixes(this);
if (f->first->DelUser(this) == 0)
{
@@ -2057,7 +2051,6 @@ void userrec::HandleEvent(EventType et, int errornum)
/* If the user has raised an error whilst being processed, quit them now we're safe to */
if (!WriteError.empty())
{
- ServerInstance->Log(DEBUG,"Write error is set, quitting user with error '%s'", GetWriteError());
userrec::QuitUser(ServerInstance, this, GetWriteError());
}
}