From ab01aaeeee9aed655df2eec2522072233fe3aa57 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 15 May 2005 22:58:24 +0000 Subject: Changed to use __single_client_alloc, faster on most systems in a single thread Specified namespace std in *all* files git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1404 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/commands.cpp') diff --git a/src/commands.cpp b/src/commands.cpp index d1d28bd56..e3ff3f74c 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -14,6 +14,8 @@ * --------------------------------------------------- */ +using namespace std; + #include "inspircd.h" #include "inspircd_io.h" #include "inspircd_util.h" @@ -62,8 +64,6 @@ #include "helperfuncs.h" #include "hashcomp.h" -using namespace std; - #ifdef USE_KQUEUE extern int kq; #endif @@ -1033,7 +1033,7 @@ void handle_who(char **parameters, int pcnt, userrec *user) { if ((!strcmp(parameters[0],"0")) || (!strcmp(parameters[0],"*")) && (!strcmp(parameters[1],"o"))) { - for (std::vector::iterator i = all_opers.begin(); i != all_opers.end(); i++) + for (std::vector::iterator i = all_opers.begin(); i != all_opers.end(); i++) { // If i were a rich man.. I wouldn't need to me making these bugfixes.. // But i'm a poor bastard with nothing better to do. @@ -2575,7 +2575,7 @@ void handle_amp(char token,char* params,serverrec* source,serverrec* reply, char { if (me[i] != NULL) { - for (vector::iterator j = me[i]->connectors.begin(); j != me[i]->connectors.end(); j++) + for (vector::iterator j = me[i]->connectors.begin(); j != me[i]->connectors.end(); j++) { if (!strcasecmp(j->GetServerName().c_str(),params)) { -- cgit v1.2.3