From dea4ae61bd327818f1c8f9d47991a4a4fc251f8d Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 30 Mar 2003 18:38:25 +0000 Subject: 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 --- src/inspircd.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/inspircd.cpp') 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 -- cgit v1.2.3