From cef3eb78dfd2ea20e0a482d040cc99902fdb4b2a Mon Sep 17 00:00:00 2001 From: Adam Date: Fri, 25 Nov 2011 00:44:31 -0500 Subject: Remove send_cmd and replace it with a stringstream --- modules/commands/os_jupe.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/commands') diff --git a/modules/commands/os_jupe.cpp b/modules/commands/os_jupe.cpp index 54834a0a6..57ea5be76 100644 --- a/modules/commands/os_jupe.cpp +++ b/modules/commands/os_jupe.cpp @@ -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); -- cgit