summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changes1
-rw-r--r--src/protocol/ultimate3.c18
-rw-r--r--version.log3
3 files changed, 19 insertions, 3 deletions
diff --git a/Changes b/Changes
index 281d72504..b5ac0790f 100644
--- a/Changes
+++ b/Changes
@@ -5,6 +5,7 @@ Anope Version 1.8 - GIT
08/21 A Added internal event when a nickcore is dropped. [ #00]
08/21 A Added internal event when a nickcore gets a new display nick. [ #00]
08/18 R Removed support for Hybrid's (old) channel mode +a [#1318]
+12/15 C Added API support for SVSJOIN and SVSPART on UltimateIRCd 3. [ #00]
05/30 F Fixed removing vhosts on InspIRCd when m_cloaking is unloaded [#1273]
07/23 F Fixed a potential crash in the badwords kicker [ #00]
08/09 F Fixed deopping the first user to join a channel during a burst [#1287]
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)
diff --git a/version.log b/version.log
index 30e39458a..ace2d67e8 100644
--- a/version.log
+++ b/version.log
@@ -8,9 +8,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="7"
VERSION_EXTRA="-git"
-VERSION_BUILD="3087"
+VERSION_BUILD="3088"
# $Log$ # Changes since 1.8.6 Release
+#Revision 3088 - Implemented API support for the SVSJOIN and SVSPART commands on UltimateIRCd 3.
#Revision 3087 - Fixed some typos in the spanish language file
#Revision 3086 - Fixed ignore not matching against users' real host or IP (introduced in rev. 3049).
#Revision 3085 - Use vident instead of ident in combination with the vhost for botserv kick(ban)s and nickserv access list checking.