]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/users.cpp
Obsolete
[user/henk/code/inspircd.git] / src / users.cpp
index be24db6971007336981749ea2ff23d2df3b73eb1..d4919af06305d7c483b58912c946cf167145f299 100644 (file)
@@ -14,9 +14,8 @@
  * ---------------------------------------------------
  */
 
-using namespace std;
-
-#include "inspircd_config.h" 
+#include "inspircd_config.h"
+#include "configreader.h"
 #include "channels.h"
 #include "connection.h"
 #include "users.h"
@@ -404,9 +403,8 @@ void userrec::AddWriteBuf(const std::string &data)
                WriteOpers("*** User %s SendQ of %d exceeds connect class maximum of %d",this->nick,sendq.length() + data.length(),this->sendqmax);
                return;
        }
-       std::stringstream stream;
-       stream << sendq << data;
-       sendq = stream.str();
+       
+       sendq.append(data);
 }
 
 // send AS MUCH OF THE USERS SENDQ as we are able to (might not be all of it)