summaryrefslogtreecommitdiff
path: root/src/irc/iid.hpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2016-12-11 16:34:38 +0100
committerlouiz’ <louiz@louiz.org>2016-12-11 16:34:38 +0100
commitf653906f9de8cbcecf5717e18c696d1029fc2c8f (patch)
tree0ad6e57692b4728ff744650b3ba238cf35c52209 /src/irc/iid.hpp
parent36252ad217ee0c8846cafce8fa35c2e776e39605 (diff)
downloadbiboumi-f653906f9de8cbcecf5717e18c696d1029fc2c8f.tar.gz
biboumi-f653906f9de8cbcecf5717e18c696d1029fc2c8f.tar.bz2
biboumi-f653906f9de8cbcecf5717e18c696d1029fc2c8f.tar.xz
biboumi-f653906f9de8cbcecf5717e18c696d1029fc2c8f.zip
Add a None type for the Iid class (when the iid is completely empty)
Diffstat (limited to 'src/irc/iid.hpp')
-rw-r--r--src/irc/iid.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/iid.hpp b/src/irc/iid.hpp
index 44861c1..81cf3ca 100644
--- a/src/irc/iid.hpp
+++ b/src/irc/iid.hpp
@@ -53,6 +53,7 @@ public:
Channel,
User,
Server,
+ None,
};
static constexpr char separator[]{"%"};
Iid(const std::string& iid, const std::set<char>& chantypes);