diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-06 19:34:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2004-04-06 19:34:41 +0000 |
commit | e4ed2d660a57ecd01a6d0dcb2a37421b4c752a6d (patch) | |
tree | 3722a7ecb46ca155ddd64a27f51176f7e46ffcf0 /include | |
parent | 8fbe9ba504a27923696f5fa51c5bc499fef4ca56 (diff) |
OnUserPre* api fixes
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@409 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/modules.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modules.h b/include/modules.h index d0195bd1b..75581b98f 100644 --- a/include/modules.h +++ b/include/modules.h @@ -217,7 +217,7 @@ class Module : public classbase * you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details * of where the message is destined to be sent. */ - virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::String text); + virtual int OnUserPreMessage(userrec* user,void* dest,int target_type, std::string text); /** Called whenever a user is about to NOTICE A user or a channel, before any processing is done. * Returning any nonzero value from this function stops the process immediately, causing no @@ -227,7 +227,7 @@ class Module : public classbase * you must cast dest to a userrec* otherwise you must cast it to a chanrec*, this is the details * of where the message is destined to be sent. */ - virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::String text); + virtual int OnUserPreNotice(userrec* user,void* dest,int target_type, std::string text); }; |