diff options
| author | 2006-08-08 21:58:21 +0000 | |
|---|---|---|
| committer | 2006-08-08 21:58:21 +0000 | |
| commit | be9fbe56f96dddb09af5b256f4529f1d8d563743 (patch) | |
| tree | cc3b0524d5335250710f9de85ce325820bc65a50 /src/modules.cpp | |
| parent | WriteWallops() -> userrec::WriteWallops() (originates from a user, so belongs... (diff) | |
Improve Write functions, and change some stuff from char* to const char*
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4803 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
| -rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 84502d374..d8557fc2e 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -197,7 +197,7 @@ void Module::OnGlobalConnect(userrec* user) { }; int Module::OnAddBan(userrec* source, chanrec* channel,const std::string &banmask) { return 0; }; int Module::OnDelBan(userrec* source, chanrec* channel,const std::string &banmask) { return 0; }; void Module::OnRawSocketAccept(int fd, const std::string &ip, int localport) { }; -int Module::OnRawSocketWrite(int fd, char* buffer, int count) { return 0; }; +int Module::OnRawSocketWrite(int fd, const 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, const std::string &text, char status) { }; |
