summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 17:58:37 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 17:58:37 +0000
commit774478aaab6cf543307b6e4e90711609727ba8c1 (patch)
treef34c3ef00b4eacef0c32463a4009b269018b6a03
parent7dd7e845843d2189e9c0c4b113cc7ec6efc80371 (diff)
Bugfix #69
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3058 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/channels.cpp8
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)