diff options
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 6 |
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 |