summaryrefslogtreecommitdiff
path: root/src/helperfuncs.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 21:39:57 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-10 21:39:57 +0000
commit24b1fbeec8e61e9636daaf606778c324d3ae3042 (patch)
tree2eb9d1892dc0d35a969ac9ec3c3c8a6189ef3192 /src/helperfuncs.cpp
parentd02a5866d4fdedec9219aeca0a6048828b394fd2 (diff)
Move all_opers into class InspIRCd
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4857 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/helperfuncs.cpp')
-rw-r--r--src/helperfuncs.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index dc6c3e00d..50d9b0631 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -44,7 +44,6 @@
#include "inspircd.h"
extern time_t TIME;
-extern std::vector<userrec*> all_opers;
static char TIMESTR[26];
static time_t LAST = 0;
@@ -135,7 +134,7 @@ void InspIRCd::WriteOpers(const char* text, ...)
void InspIRCd::WriteOpers(const std::string &text)
{
- for (std::vector<userrec*>::iterator i = all_opers.begin(); i != all_opers.end(); i++)
+ for (std::vector<userrec*>::iterator i = this->all_opers.begin(); i != this->all_opers.end(); i++)
{
userrec* a = *i;
if (IS_LOCAL(a) && a->modes[UM_SERVERNOTICE])