diff options
Diffstat (limited to 'include/services.h')
| -rw-r--r-- | include/services.h | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/include/services.h b/include/services.h index 5a8e84ee0..f8e48aa8a 100644 --- a/include/services.h +++ b/include/services.h @@ -989,14 +989,16 @@ class CoreExport Channel : public Extensible /** * Set a mode on a channel * @param Name The mode name + * @param param Optional param arg for the mode */ - void SetMode(ChannelModeName Name); + void SetMode(ChannelModeName Name, const std::string param = ""); /** * Set a mode on a channel * @param Mode The mode + * @param param Optional param arg for the mode */ - void SetMode(char Mode); + void SetMode(char Mode, const std::string param = ""); /** * Remove a mode from a channel @@ -1030,18 +1032,6 @@ class CoreExport Channel : public Extensible */ void ClearInvites(char *client = NULL); - /** Set a channel mode param on the channel - * @param Name The mode - * @param param The param - * @param true on success - */ - bool SetParam(ChannelModeName Name, std::string ¶m); - - /** Unset a param from the channel - * @param Name The mode - */ - void UnsetParam(ChannelModeName Name); - /** Get a param from the channel * @param Name The mode * @param Target a string to put the param into |
