From 068d8712be04b6db7b291679ee4ee76e18d6733d Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 3 Feb 2006 17:40:38 +0000 Subject: numbskull moment git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3055 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/helperfuncs.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src') 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::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::iterator i = ulist->begin(); i != ulist->end(); i++) -- cgit v1.2.3