Add support for password-protected IRC rooms.

This commit is contained in:
Emmanuel Gil Peyrot
2015-01-14 12:38:46 +01:00
parent e2e2f30894
commit e4fcbd3030
5 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -81,7 +81,7 @@ public:
/**
* Send the JOIN irc command.
*/
void send_join_command(const std::string& chan_name);
void send_join_command(const std::string& chan_name, const std::string& password = "");
/**
* Send a PRIVMSG command for a channel
* Return true if the message was actually sent