From 830a99acb9512be2f2f056eeed4571c9467847fe Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 7 Apr 2004 21:47:31 +0000 Subject: Fixed bug where putting too many spaces in a privmsg disconnected the user git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@429 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 2f7f1fd16..37a0e742e 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -318,7 +318,7 @@ int Server::CountUsers(chanrec* c) ConfigReader::ConfigReader() { - this->cache = new std::stringstream(stringstream::in | stringstream::out); + this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); this->error = LoadConf(CONFIG_FILE,this->cache); } @@ -332,7 +332,7 @@ ConfigReader::~ConfigReader() ConfigReader::ConfigReader(std::string filename) { - this->cache = new std::stringstream(stringstream::in | stringstream::out); + this->cache = new std::stringstream(std::stringstream::in | std::stringstream::out); this->error = LoadConf(filename.c_str(),this->cache); }; -- cgit v1.3.1-10-gc9f91