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 --- include/channels.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/channels.h') diff --git a/include/channels.h b/include/channels.h index ade284709..17e47c88d 100644 --- a/include/channels.h +++ b/include/channels.h @@ -173,7 +173,7 @@ class chanrec : public Extensible * @param parameter The parameter string to associate with this mode character * @param mode_on True if you want to set the mode or false if you want to remove it */ - void SetModeParam(char mode,char* parameter,bool mode_on); + void SetModeParam(char mode,const char* parameter,bool mode_on); /** Returns true if a mode is set on a channel * @param mode The mode character you wish to query -- cgit v1.2.3