aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_sqloper.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-09-17 14:01:53 +0000
committerGravatar brain2006-09-17 14:01:53 +0000
commit3a7dd5b129450b94e0a87b8ad5009da70905b8e5 (patch)
treeba05bf4834f03c4c1450ec83bd5b238d055b3d5f /src/modules/extra/m_sqloper.cpp
parentProper checking in /SAPART that the user really did leave, for the CMD_FAILU... (diff)
downloadinspircd++-3a7dd5b129450b94e0a87b8ad5009da70905b8e5.tar.gz
inspircd++-3a7dd5b129450b94e0a87b8ad5009da70905b8e5.tar.bz2
inspircd++-3a7dd5b129450b94e0a87b8ad5009da70905b8e5.zip
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
Diffstat (limited to 'src/modules/extra/m_sqloper.cpp')
-rw-r--r--src/modules/extra/m_sqloper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 867dab8a9..e36e97cae 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -65,7 +65,7 @@ public:
List[I_OnRequest] = List[I_OnRehash] = List[I_OnPreCommand] = 1;
}
- 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)
{
if (validated && (command == "OPER"))
{