diff --git a/src/ngircd/channel.c b/src/ngircd/channel.c index 1b0e4424..c923404b 100644 --- a/src/ngircd/channel.c +++ b/src/ngircd/channel.c @@ -237,7 +237,7 @@ Channel_Part(CLIENT * Client, CLIENT * Origin, const char *Name, const char *Rea GLOBAL void -Channel_Kick( CLIENT *Client, CLIENT *Origin, char *Name, char *Reason ) +Channel_Kick( CLIENT *Client, CLIENT *Origin, const char *Name, const char *Reason ) { CHANNEL *chan; diff --git a/src/ngircd/channel.h b/src/ngircd/channel.h index 8bf526b8..1483b4ac 100644 --- a/src/ngircd/channel.h +++ b/src/ngircd/channel.h @@ -68,7 +68,7 @@ GLOBAL bool Channel_Part PARAMS(( CLIENT *Client, CLIENT *Origin, const char *Na GLOBAL void Channel_Quit PARAMS(( CLIENT *Client, char *Reason )); -GLOBAL void Channel_Kick PARAMS(( CLIENT *Client, CLIENT *Origin, char *Name, char *Reason )); +GLOBAL void Channel_Kick PARAMS(( CLIENT *Client, CLIENT *Origin, const char *Name, const char *Reason )); GLOBAL unsigned long Channel_Count PARAMS(( void )); GLOBAL unsigned long Channel_MemberCount PARAMS(( CHANNEL *Chan ));