summaryrefslogtreecommitdiff
path: root/src/irc/irc_client.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-27 02:17:25 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-27 02:17:58 +0200
commit796af0531e0f5eb5fa2b800370338ede120a867d (patch)
tree8abff42f0761fa97a94390d68b6e08aa66e3c6d4 /src/irc/irc_client.hpp
parent23e8e32f84c8d7f8bb947a1ab484a81890b40371 (diff)
downloadbiboumi-796af0531e0f5eb5fa2b800370338ede120a867d.tar.gz
biboumi-796af0531e0f5eb5fa2b800370338ede120a867d.tar.bz2
biboumi-796af0531e0f5eb5fa2b800370338ede120a867d.tar.xz
biboumi-796af0531e0f5eb5fa2b800370338ede120a867d.zip
Add support for CHANTYPES isupport element, to know the prefixes of channels
Diffstat (limited to 'src/irc/irc_client.hpp')
-rw-r--r--src/irc/irc_client.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/irc/irc_client.hpp b/src/irc/irc_client.hpp
index e70ee33..e6fb393 100644
--- a/src/irc/irc_client.hpp
+++ b/src/irc/irc_client.hpp
@@ -12,6 +12,7 @@
#include <vector>
#include <string>
#include <map>
+#include <set>
class Bridge;
@@ -258,6 +259,11 @@ private:
*/
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
*/