From 49ef1162a51906e7444bb7e38736bd816c317db6 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 9 Jul 2006 16:40:58 +0000 Subject: Alter SetModeParam to take const char* to save on casts, notice a load of modules that arent setting the param or the mode inside the handler git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4231 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index a25b2927c..632e198e5 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -65,7 +65,7 @@ void chanrec::SetMode(char mode,bool mode_on) } -void chanrec::SetModeParam(char mode,char* parameter,bool mode_on) +void chanrec::SetModeParam(char mode,const char* parameter,bool mode_on) { log(DEBUG,"SetModeParam called"); -- cgit v1.3.1-10-gc9f91