summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-03-30 18:38:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2003-03-30 18:38:25 +0000
commitdea4ae61bd327818f1c8f9d47991a4a4fc251f8d (patch)
treecfe20b4ef037aa99c573d60922032c8a8f0a6509 /src/inspircd.cpp
parent7455e1c881f12eaf3ec9658ac84add6b61b131a3 (diff)
Updated docs
Added RAW processor methods to module class git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@172 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp
index 839ad82c8..2eff65bfe 100644
--- a/src/inspircd.cpp
+++ b/src/inspircd.cpp
@@ -3665,6 +3665,12 @@ void process_command(userrec *user, char* cmd)
return;
}
strcpy(temp,cmd);
+
+ string temp = cmd;
+ FOREACH_MOD OnServerRaw(temp,true);
+ const char* cmd2 = temp.c_str();
+ sprintf(cmd,"%s",cmd2);
+
if (!strchr(cmd,' '))
{
/* no parameters, lets skip the formalities and not chop up