diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 17:37:36 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 17:37:36 +0000 |
commit | 0a58b25ad736e7cec4944eb89e10f617d74225a0 (patch) | |
tree | e4c6eec8156b1c769c91beef2d70814e015c186e /src | |
parent | c3605c048a3658bd02a9e1f600e707b9596ba1ee (diff) |
Tidyup op/halfop/voice list on part/quit
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3054 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/channels.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/channels.cpp b/src/channels.cpp index 61f7d92ca..f067646d3 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -173,7 +173,10 @@ void chanrec::DelUser(char* castuser) internal_userlist.erase(a); return; } - log(DEBUG,"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!",name); + /* Tidy up any others */ + DelOppedUser(castuser); + DelHalfoppedUser(castuser); + DelVoicedUser(castuser); } void chanrec::AddOppedUser(char* castuser) @@ -191,7 +194,6 @@ void chanrec::DelOppedUser(char* castuser) internal_op_userlist.erase(a); return; } - log(DEBUG,"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!",name); } void chanrec::AddHalfoppedUser(char* castuser) @@ -209,7 +211,6 @@ void chanrec::DelHalfoppedUser(char* castuser) internal_halfop_userlist.erase(a); return; } - log(DEBUG,"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!",name); } void chanrec::AddVoicedUser(char* castuser) @@ -227,7 +228,6 @@ void chanrec::DelVoicedUser(char* castuser) internal_voice_userlist.erase(a); return; } - log(DEBUG,"BUG BUG BUG! Attempt to remove an uncasted user from the internal list of %s!",name); } std::map<char*,char*> *chanrec::GetUsers() |