From 6ce9010324f7394fc31eba8a3fc938c03b134025 Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 21 Oct 2011 18:01:51 -0400 Subject: [PATCH] Fixed extracting multiple words from our serializable stringstream --- include/serialize.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/include/serialize.h b/include/serialize.h index ff818a61b..76b5e43aa 100644 --- a/include/serialize.h +++ b/include/serialize.h @@ -26,7 +26,11 @@ namespace Serialize is >> val; return *this; } - std::istream &operator>>(Anope::string &val) { return *this >> val.str(); } + std::istream &operator>>(Anope::string &val) + { + val = this->str(); + return *this; + } stringstream &setType(DataType t) { this->type = t;