From be9fbe56f96dddb09af5b256f4529f1d8d563743 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 Aug 2006 21:58:21 +0000 Subject: 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 --- include/modules.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/modules.h b/include/modules.h index f086188d0..392047a35 100644 --- a/include/modules.h +++ b/include/modules.h @@ -1192,7 +1192,7 @@ class Module : public Extensible * @param Number of characters to write * @return Number of characters actually written or 0 if you didn't handle the operation */ - virtual int OnRawSocketWrite(int fd, char* buffer, int count); + virtual int OnRawSocketWrite(int fd, const char* buffer, int count); /** Called immediately before any socket is closed. When this event is called, shutdown() * has not yet been called on the socket. -- cgit v1.2.3