diff options
author | Viper <viper@anope.org> | 2011-12-15 00:59:10 +0100 |
---|---|---|
committer | Viper <viper@anope.org> | 2011-12-15 00:59:10 +0100 |
commit | 658ecee8172241379e40bebfcffb37492f8bfb8a (patch) | |
tree | e887f21fab5e4055026d0a1e181534d483a70367 /src | |
parent | fb99dc43c922e0fa197db3c83efa8d70897f6097 (diff) |
Implemented API support for the SVSJOIN and SVSPART commands on UltimateIRCd 3.
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol/ultimate3.c | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/src/protocol/ultimate3.c b/src/protocol/ultimate3.c index 43e6cb1c5..eb715fc8b 100644 --- a/src/protocol/ultimate3.c +++ b/src/protocol/ultimate3.c @@ -1553,14 +1553,28 @@ int anope_event_sqline(char *source, int ac, char **av) return MOD_CONT; } +/* + * svsjoin + * + * parv[0] - sender + * parv[1] - nick to make join + * parv[2] - channel(s) to join + */ void ultimate3_cmd_svsjoin(char *source, char *nick, char *chan, char *param) { - /* Not Supported by this IRCD */ + send_cmd(source, "SVSJOIN %s %s", nick, chan); } +/* + * svspart + * + * parv[0] - sender + * parv[1] - nick to make part + * parv[2] - channel(s) to part + */ void ultimate3_cmd_svspart(char *source, char *nick, char *chan) { - /* Not Supported by this IRCD */ + send_cmd(source, "SVSPART %s %s", nick, chan); } void ultimate3_cmd_swhois(char *source, char *who, char *mask) |