summaryrefslogtreecommitdiff
path: root/src/bahamut.c
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-11-24 05:14:41 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-11-24 05:14:41 +0000
commitc55942927eccc7b3bf3e5aa742acdb737b4a8989 (patch)
tree6eab5afa36993f879476f3123013bf6fd4b9953a /src/bahamut.c
parent9233f879d14728673ca82b1a7d16341e79d609df (diff)
BUILD : 1.7.6 (462) BUGS : 226 NOTES : 1. RageIRCD sends TSMODE which is part of their beta7 2. RageIRCD protocol file now has anope_cmd_chghost() 3. RageIRCD SVINFO more in line with what we get 4. Bahamut protocol file now has anope_cmd_chghost() to prevent undefined symbol messages 5. Bahamut SZLINE and UNSZLINE dealt with per documentation, left the old commands behind for now, till we decide to move our base Bahamut version forward
git-svn-id: svn://svn.anope.org/anope/trunk@462 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@316 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/bahamut.c')
-rw-r--r--src/bahamut.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/bahamut.c b/src/bahamut.c
index a8a4f911a..5fafd7f86 100644
--- a/src/bahamut.c
+++ b/src/bahamut.c
@@ -676,13 +676,20 @@ void anope_cmd_unsgline(char *mask)
/* UNSZLINE */
void anope_cmd_unszline(char *mask)
{
+ /* this will likely fail so its only here for legacy */
send_cmd(NULL, "UNSZLINE 0 %s", mask);
+ /* this is how we are supposed to deal with it */
+ send_cmd(NULL, "RAKILL %s *", mask);
}
/* SZLINE */
void anope_cmd_szline(char *mask, char *reason, char *whom)
{
+ /* this will likely fail so its only here for legacy */
send_cmd(NULL, "SZLINE %s :%s", mask, reason);
+ /* this is how we are supposed to deal with it */
+ send_cmd(NULL, "AKILL %s * %d %s %ld :%s", mask, 86400 * 2, whom,
+ (long int) time(NULL), reason);
}
/* SVSNOOP */
@@ -1647,4 +1654,13 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
send_cmd(source, "%s NOTICE :\1%s \1", dest, s);
}
+/* this avoids "undefined symbol" messages of those whom try to load mods that
+ call on this function */
+void anope_cmd_chghost(char *nick, char *vhost)
+{
+ if (debug) {
+ alog("debug: This IRCD does not support vhosting");
+ }
+}
+
#endif