diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 17:30:46 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-03 17:30:46 +0000 |
commit | 9c64f695f6becd596889ecebdeb40242e255f5b0 (patch) | |
tree | 3fd89b9fa57a32343ad9322d73003f6de4bc9a16 | |
parent | a3cb2921f50bcd8aba5d836d6b5bb0f7b9dd5568 (diff) |
Typo fixes #2
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3052 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | include/helperfuncs.h | 2 | ||||
-rw-r--r-- | src/modules.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/helperfuncs.h b/include/helperfuncs.h index aaf6cf7fa..1641575a6 100644 --- a/include/helperfuncs.h +++ b/include/helperfuncs.h @@ -46,7 +46,7 @@ void WriteTo_NoFormat(userrec *source, userrec *dest,const char *data); void WriteChannel_NoFormat(chanrec* Ptr, userrec* user, const char* text); void WriteChannelLocal_NoFormat(chanrec* Ptr, userrec* user, const char* text); void WriteChannelWithServ_NoFormat(char* ServName, chanrec* Ptr, const char* text); -void ChanExceptSender_NoFormat(chanrec* Ptr, char status, userrec* user, const char* text); +void ChanExceptSender_NoFormat(chanrec* Ptr, userrec* user, char status, const char* text); void WriteCommon_NoFormat(userrec *u, const char* text); void WriteCommonExcept_NoFormat(userrec *u, const char* text); diff --git a/src/modules.cpp b/src/modules.cpp index f4ba90282..22433b8ac 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -271,9 +271,9 @@ void Module::OnRawSocketAccept(int fd, std::string ip, int localport) { }; int Module::OnRawSocketWrite(int fd, char* buffer, int count) { return 0; }; void Module::OnRawSocketClose(int fd) { }; int Module::OnRawSocketRead(int fd, char* buffer, unsigned int count, int &readresult) { return 0; }; -void Module::OnUserMessage(userrec* user, void* dest, int target_type, std::string text) { }; +void Module::OnUserMessage(userrec* user, void* dest, int target_type, std::string text, char status) { }; void Module::OnUserNotice(userrec* user, void* dest, int target_type, std::string text, char status) { }; -void Module::OnRemoteKill(userrec* source, userrec* dest, std::string reason, char status) { }; +void Module::OnRemoteKill(userrec* source, userrec* dest, std::string reason) { }; void Module::OnUserInvite(userrec* source,userrec* dest,chanrec* channel) { }; void Module::OnPostLocalTopicChange(userrec* user, chanrec* chan, std::string topic) { }; void Module::OnGetServerDescription(std::string servername,std::string &description) { }; |