TIL std::string::end and std::string::begin…
1 files changed, 1 insertions(+), 2 deletions(-) M src/xmpp/biboumi_adhoc_commands.cpp
M src/xmpp/biboumi_adhoc_commands.cpp => src/xmpp/biboumi_adhoc_commands.cpp +1 -2
@@ 264,8 264,7 @@ void ConfigureIrcServerStep2(XmppComponent*, AdhocSession& session, XmlNode& com { auto username = value->get_inner(); // The username must not contain spaces std::replace(&username[0], &username[username.size() - 1], ' ', '_'); std::replace(username.begin(), username.end(), ' ', '_'); options.username = username; }