summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 17:40:38 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-03 17:40:38 +0000
commit068d8712be04b6db7b291679ee4ee76e18d6733d (patch)
treec67e20f553f398d083f0420400b79f63a538f08f /src
parent0a58b25ad736e7cec4944eb89e10f617d74225a0 (diff)
numbskull moment
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3055 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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++)