mirror of
https://github.com/anope/anope.git
synced 2026-07-04 03:23:13 +02:00
Fix bug #1009, patch inspired by DukePyrolator, add a TS6 SID generator from DukePyrolator, as well as change SendServer() to take a Server struct and use the result of new_server() in the SendServer() call instead.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2206 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+2
-2
@@ -36,8 +36,8 @@ class CommandOSJupe : public Command
|
||||
snprintf(rbuf, sizeof(rbuf), "Juped by %s%s%s", u->nick, reason ? ": " : "", reason ? reason : "");
|
||||
if (findserver(servlist, jserver))
|
||||
ircdproto->SendSquit(jserver, rbuf);
|
||||
ircdproto->SendServer(jserver, 2, rbuf);
|
||||
new_server(me_server, jserver, rbuf, SERVER_JUPED, NULL);
|
||||
Server *juped_server = new_server(me_server, jserver, rbuf, SERVER_JUPED, ircd->ts6 ? ts6_sid_retrieve() : NULL);
|
||||
ircdproto->SendServer(juped_server);
|
||||
|
||||
if (WallOSJupe)
|
||||
ircdproto->SendGlobops(s_OperServ, "\2%s\2 used JUPE on \2%s\2", u->nick, jserver);
|
||||
|
||||
Reference in New Issue
Block a user