Provide a JID for IRC users, and add a stringprep dependency for this

This commit is contained in:
Florent Le Coz
2013-12-08 20:14:12 +01:00
parent cb718def0c
commit b11126a19d
12 changed files with 137 additions and 11 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ IrcMessage::IrcMessage(std::string&& line)
if (line[0] == ':')
{
pos = line.find(" ");
this->prefix = line.substr(1, pos);
this->prefix = line.substr(1, pos - 1);
line = line.substr(pos + 1, std::string::npos);
}
// command