mirror of
https://github.com/anope/anope.git
synced 2026-06-30 15:06:39 +02:00
Remove send_cmd and replace it with a stringstream
This commit is contained in:
@@ -37,7 +37,7 @@ class CommandOSJupe : public Command
|
||||
{
|
||||
Anope::string rbuf = "Juped by " + u->nick + (!reason.empty() ? ": " + reason : "");
|
||||
if (server)
|
||||
ircdproto->SendSquit(jserver, rbuf);
|
||||
ircdproto->SendSquit(server, rbuf);
|
||||
Server *juped_server = new Server(Me, jserver, 1, rbuf, ircd->ts6 ? ts6_sid_retrieve() : "", SERVER_JUPED);
|
||||
ircdproto->SendServer(juped_server);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user