From e4ed2d660a57ecd01a6d0dcb2a37421b4c752a6d Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 6 Apr 2004 19:34:41 +0000 Subject: OnUserPre* api fixes git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@409 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/modules.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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); }; -- cgit v1.3.1-10-gc9f91