diff options
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | src/plexus.c | 32 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 18 insertions, 23 deletions
@@ -101,7 +101,8 @@ Provided by Jens Hoffrichter <joho@nickstories.de> - 2004 Provided by mitch{Xy} <mitch@bondage.com> - 2004 12/20 F Removed unclear email text from language files. [ #00] -Provided by ThaPrince <jon@vile.com> - 2004 +Provided by ThaPrince <jon@vile.com> - 2004/2005 +01/13 A Support for plexus SVSID. [ #00] 12/25 A Support for Hybrid TBURST. [#259] 12/21 A Support for Hybrid IRCDs QS (Quit Storm). [#256] 12/20 A Added plexus ircd support. [ #00] diff --git a/src/plexus.c b/src/plexus.c index c22531246..53b512df3 100644 --- a/src/plexus.c +++ b/src/plexus.c @@ -76,7 +76,7 @@ IRCDVar ircd[] = { 0, /* Channel Mode */ 0, /* vidents */ 0, /* svshold */ - 0, /* time stamp on mode */ + 1, /* time stamp on mode */ 0, /* NICKIP */ 0, /* UMODE */ 0, /* O:LINE */ @@ -184,7 +184,7 @@ void anope_set_umode(User * user, int ac, char **av) break; case 'R': if (add && !nick_identified(user)) { - send_cmd(ServerName, "SVSMODE %s -R", user->nick); + common_svsmode(user, "-R", NULL); user->mode &= ~UMODE_R; } break; @@ -638,18 +638,8 @@ void moduleAddIRCDMsgs(void) { m = createMessage("USER", anope_event_null); addCoreMessage(IRCD,m); m = createMessage("WALLOPS", anope_event_null); addCoreMessage(IRCD,m); m = createMessage("WHOIS", anope_event_whois); addCoreMessage(IRCD,m); - m = createMessage("AKILL", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("GLOBOPS", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("GNOTICE", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("GOPER", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("RAKILL", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("SILENCE", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("SVSKILL", anope_event_null); addCoreMessage(IRCD,m); m = createMessage("SVSMODE", anope_event_null); addCoreMessage(IRCD,m); m = createMessage("SVSNICK", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("SVSNOOP", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("SQLINE", anope_event_null); addCoreMessage(IRCD,m); - m = createMessage("UNSQLINE", anope_event_null); addCoreMessage(IRCD,m); m = createMessage("CAPAB", anope_event_capab); addCoreMessage(IRCD,m); m = createMessage("SJOIN", anope_event_sjoin); addCoreMessage(IRCD,m); m = createMessage("SVINFO", anope_event_svinfo); addCoreMessage(IRCD,m); @@ -775,6 +765,9 @@ void anope_cmd_svskill(char *source, char *user, const char *fmt, ...) void anope_cmd_svsmode(User * u, int ac, char **av) { send_cmd(ServerName, "SVSMODE %s %s", u->nick, av[0]); + + if ((ac == 2) && isdigit(*av[1])) + send_cmd(ServerName, "SVSID %s %s", u->nick, av[1]); } void anope_cmd_connect(int servernum) @@ -833,7 +826,7 @@ void anope_cmd_svinfo() void anope_cmd_capab() { send_cmd(NULL, - "CAPAB :QS EX CHW IE EOB KLN GLN HOPS HUB AOPS KNOCK TBURST PARA"); + "CAPAB :QS EX CHW IE EOB KLN GLN HOPS HUB KNOCK TBURST PARA"); } /* PASS */ @@ -1354,16 +1347,15 @@ void anope_cmd_squit(char *servname, char *message) int anope_event_mode(char *source, int ac, char **av) { - Server *s; - if (ac < 2) return MOD_CONT; - s = findserver(servlist, source); - if (*av[0] == '#' || *av[0] == '&') { do_cmode(source, ac, av); } else { + Server *s; + s = findserver(servlist, source); + if (s && *av[0]) { do_umode(av[0], ac, av); } else { @@ -1444,16 +1436,14 @@ void anope_cmd_svid_umode(char *nick, time_t ts) /* nc_change was = 1, and there is no na->status */ void anope_cmd_nc_change(User * u) { - common_svsmode(u, "-R", NULL); - send_cmd(ServerName, "SVSID %s 1", u->nick); + common_svsmode(u, "-R", "1"); } /* SVSMODE +d */ void anope_cmd_svid_umode2(User * u, char *ts) { if (u->svid != u->timestamp) { - common_svsmode(u, "+R", NULL); - send_cmd(ServerName, "SVSID %s %s", u->nick, ts); + common_svsmode(u, "+R", ts); } else { common_svsmode(u, "+R", NULL); } diff --git a/version.log b/version.log index 540fd8021..db0659898 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="7" -VERSION_BUILD="533" +VERSION_BUILD="534" # $Log$ # +# BUILD : 1.7.7 (534) +# BUGS : N/A +# NOTES : Added support for plexus user timestamping +# # BUILD : 1.7.7 (533) # BUGS : N/A # NOTES : Added make profile to allow for gprof profiling |