* ---------------------------------------------------
*/
-using namespace std;
-
-#include "inspircd_config.h"
+#include "inspircd_config.h"
+#include "configreader.h"
#include "channels.h"
#include "connection.h"
#include "users.h"
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)