aboutsummaryrefslogtreecommitdiff
path: root/src/channels.cpp
diff options
context:
space:
mode:
authorGravatar brain2006-07-09 16:40:58 +0000
committerGravatar brain2006-07-09 16:40:58 +0000
commit49ef1162a51906e7444bb7e38736bd816c317db6 (patch)
tree4092360d44d2c8d88b243b4d37bc873fd964dde2 /src/channels.cpp
parentPort to new API (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 'src/channels.cpp')
-rw-r--r--src/channels.cpp2
1 files changed, 1 insertions, 1 deletions
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");