1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 18:16:38 +02:00

Implemented API support for the SVSJOIN and SVSPART commands on UltimateIRCd 3.

This commit is contained in:
Viper
2011-12-15 00:59:10 +01:00
parent fb99dc43c9
commit 658ecee817
3 changed files with 19 additions and 3 deletions
+16 -2
View File
@@ -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)