From 5c29c53f651fb0c513a50c9396e08ba340a6d2bf Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sun, 7 Apr 2013 22:23:25 +0100 Subject: Convert ISUPPORT to use a map instead of a string. --- src/modules/m_watch.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/modules/m_watch.cpp') diff --git a/src/modules/m_watch.cpp b/src/modules/m_watch.cpp index 615cdf191..60ea79a83 100644 --- a/src/modules/m_watch.cpp +++ b/src/modules/m_watch.cpp @@ -527,10 +527,9 @@ class Modulewatch : public Module } } - virtual void On005Numeric(std::string &output) + virtual void On005Numeric(std::map& tokens) { - // we don't really have a limit... - output = output + " WATCH=" + ConvToStr(maxwatch); + tokens["WATCH"] = ConvToStr(maxwatch); } virtual ~Modulewatch() -- cgit v1.2.3