From 0a58b25ad736e7cec4944eb89e10f617d74225a0 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 3 Feb 2006 17:37:36 +0000 Subject: Tidyup op/halfop/voice list on part/quit git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3054 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src') 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 *chanrec::GetUsers() -- cgit v1.2.3