diff options
-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 f067646d3..e8e7efcf8 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -171,12 +171,12 @@ void chanrec::DelUser(char* castuser) { log(DEBUG,"Removed casted user from channel's internal list"); internal_userlist.erase(a); + /* And tidy any others... */ + DelOppedUser(castuser); + DelHalfoppedUser(castuser); + DelVoicedUser(castuser); return; } - /* Tidy up any others */ - DelOppedUser(castuser); - DelHalfoppedUser(castuser); - DelVoicedUser(castuser); } void chanrec::AddOppedUser(char* castuser) |