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:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user