From 3a7dd5b129450b94e0a87b8ad5009da70905b8e5 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 17 Sep 2006 14:01:53 +0000 Subject: Add const std::string &original_command to OnPreCommand and OnPostCommand, which gives the entire untouched command string and params in all its colon-ny glory git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5265 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_namesx.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_namesx.cpp') diff --git a/src/modules/m_namesx.cpp b/src/modules/m_namesx.cpp index e55e436ce..27bef92f5 100644 --- a/src/modules/m_namesx.cpp +++ b/src/modules/m_namesx.cpp @@ -53,7 +53,7 @@ class ModuleNamesX : public Module output.append(" NAMESX"); } - virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated) + virtual int OnPreCommand(const std::string &command, const char** parameters, int pcnt, userrec *user, bool validated, const std::string &original_line) { irc::string c = command.c_str(); /* We don't actually create a proper command handler class for PROTOCTL, -- cgit v1.2.3