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_uhnames.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_uhnames.cpp') diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp index 67ed560ca..1b0c91c94 100644 --- a/src/modules/m_uhnames.cpp +++ b/src/modules/m_uhnames.cpp @@ -44,9 +44,9 @@ class ModuleUHNames : public Module return Version("Provides the UHNAMES facility.",VF_VENDOR); } - void On005Numeric(std::string &output) + void On005Numeric(std::map& tokens) { - output.append(" UHNAMES"); + tokens["UHNAMES"]; } ModResult OnPreCommand(std::string &command, std::vector ¶meters, LocalUser *user, bool validated, const std::string &original_line) -- cgit v1.3.1-10-gc9f91