mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
If the CHANTYPES token was the last one in a 005 numeric, partyline would call std::insert() with CString::npos for the position to insert at. This throws a std::out_of_range error. Fix this by using CString::append() in this case. Thanks to Superfly_ for the bug report and helping me reproduce this. git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@2087 726aef4b-f618-498e-8847-2d620e286838
22 KiB
22 KiB