summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/helperfuncs.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 20dd6cb13..070a3d3b1 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -501,16 +501,16 @@ void ChanExceptSender(chanrec* Ptr, userrec* user, char status, char* text, ...)
switch (status)
{
case '@':
- Ptr->GetOppedUsers();
+ ulist = Ptr->GetOppedUsers();
break;
case '%':
- Ptr->GetHalfoppedUsers();
+ ulist = Ptr->GetHalfoppedUsers();
break;
case '+':
- Ptr->GetVoicedUsers();
+ ulist = Ptr->GetVoicedUsers();
break;
default:
- Ptr->GetUsers();
+ ulist = Ptr->GetUsers();
break;
}
for (std::map<char*,char*>::iterator i = ulist->begin(); i != ulist->end(); i++)
@@ -533,16 +533,16 @@ void ChanExceptSender_NoFormat(chanrec* Ptr, userrec* user, char status, const c
switch (status)
{
case '@':
- Ptr->GetOppedUsers();
+ ulist = Ptr->GetOppedUsers();
break;
case '%':
- Ptr->GetHalfoppedUsers();
+ ulist = Ptr->GetHalfoppedUsers();
break;
case '+':
- Ptr->GetVoicedUsers();
+ ulist = Ptr->GetVoicedUsers();
break;
default:
- Ptr->GetUsers();
+ ulist = Ptr->GetUsers();
break;
}
for (std::map<char*,char*>::iterator i = ulist->begin(); i != ulist->end(); i++)