diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 16:40:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-09 16:40:58 +0000 |
commit | 49ef1162a51906e7444bb7e38736bd816c317db6 (patch) | |
tree | 4092360d44d2c8d88b243b4d37bc873fd964dde2 /include/channels.h | |
parent | a339562253004e861633c67e011d3101ec4588ba (diff) |
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
Diffstat (limited to 'include/channels.h')
-rw-r--r-- | include/channels.h | 2 |
1 files changed, 1 insertions, 1 deletions
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 |