Add support for CHANTYPES isupport element, to know the prefixes of channels

This commit is contained in:
Florent Le Coz
2014-05-27 02:17:58 +02:00
parent 23e8e32f84
commit 796af0531e
2 changed files with 18 additions and 3 deletions
+6
View File
@@ -12,6 +12,7 @@
#include <vector>
#include <string>
#include <map>
#include <set>
class Bridge;
@@ -257,6 +258,11 @@ private:
* chanmodes[0] contains modes of type A, [1] of type B etc
*/
std::vector<std::string> chanmodes;
/**
* See http://www.irc.org/tech_docs/draft-brocklesby-irc-isupport-03.txt
* section 3.5
*/
std::set<char> chantypes;
/**
* Each motd line received is appended to this string, which we send when
* the motd is completely received