diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-07 21:47:31 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-07 21:47:31 +0000 |
commit | 830a99acb9512be2f2f056eeed4571c9467847fe (patch) | |
tree | 9f03a174cbdca0125cfb40b527ae9248a996e621 /src/modules.cpp | |
parent | 7f15d3a63f9d151bfefcd5c63594a4eba6325a44 (diff) |
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
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); }; |