summaryrefslogtreecommitdiff
path: root/include/modules.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules.h')
-rw-r--r--include/modules.h4
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);
};