1
0
mirror of https://github.com/anope/anope.git synced 2026-06-28 20:56:38 +02:00

fixed segfault on ctcp ping

This commit is contained in:
DukePyrolator
2010-08-02 07:09:46 +02:00
parent 5258549305
commit ca26c4d9ca
+1 -1
View File
@@ -249,7 +249,7 @@ void chanserv(User *u, const Anope::string &buf)
{
Anope::string command = buf;
command.erase(command.begin());
command.erase(command.end());
command.erase(command.end() - 1);
ircdproto->SendCTCP(ChanServ, u->nick, "%s", command.c_str());
}
else