summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-06-11 16:31:14 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2006-06-11 16:31:14 +0000
commit7a97a4e6591da5bfeefcb396b1870186b2e4acce (patch)
tree84553b6e08daefe3016da7b6b1de2223357da37b
parent189845ea905169e78ec91e2b4453addd8a61675a (diff)
BUILD : 1.7.14 (1044) BUGS : NOTES : Update InspIRCd protocol support module
git-svn-id: svn://svn.anope.org/anope/trunk@1044 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@768 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r--Changes1
-rw-r--r--src/protocol/inspircd.c21
-rw-r--r--version.log6
3 files changed, 13 insertions, 15 deletions
diff --git a/Changes b/Changes
index 33cf9279d..a8dc5da50 100644
--- a/Changes
+++ b/Changes
@@ -16,6 +16,7 @@ Provided by Anope Dev. <dev@anope.org> - 2006
06/03 F Fixed compiler warnings. [#511]
06/10 F Win32 Makefile for plexus3 support. [#520]
06/11 F Two pointers in modules.c weren't NULL-ified by default. [ #00]
+06/11 F Updated InspIRCd protocol support module. [ #00]
Provided by ThaPrince <jon@vile.com> - 2006
05/19 A Plexus 3 support. [ #00]
diff --git a/src/protocol/inspircd.c b/src/protocol/inspircd.c
index e2e11e87f..6666099cf 100644
--- a/src/protocol/inspircd.c
+++ b/src/protocol/inspircd.c
@@ -62,7 +62,7 @@ IRCDVar myIrcd[] = {
"+r", /* Mode On Reg */
"-r", /* Mode on UnReg */
"-r", /* Mode on Nick Change */
- 0, /* Supports SGlines */
+ 1, /* Supports SGlines */
1, /* Supports SQlines */
1, /* Supports SZlines */
1, /* Supports Halfop +h */
@@ -567,7 +567,7 @@ void inspircd_cmd_376(char *source)
void inspircd_cmd_nick(char *nick, char *name, char *modes)
{
- /* :test.chatspike.net NICK 1133519355 Brain synapse.brainbox.winbot.co.uk netadmin.chatspike.net ~brain +xwsioS 10.0.0.2 :Craig Edwards */
+ // :test.chatspike.net NICK 1133519355 Brain synapse.brainbox.winbot.co.uk netadmin.chatspike.net ~brain +xwsioS 10.0.0.2 :Craig Edwards
send_cmd(ServerName, "NICK %ld %s %s %s %s +%s 0.0.0.0 :%s",(long int) time(NULL),nick,ServiceHost,ServiceHost,ServiceUser,modes,name);
send_cmd(ServerName, "OPERTYPE Service");
}
@@ -1327,11 +1327,11 @@ int anope_event_nick(char *source, int ac, char **av)
if (ac != 1) {
if (ac == 8) {
inet_aton(av[6],&addy);
- user = do_nick("", av[1], /* nick */
- av[4], /* username */
- av[2], /* realhost */
- source, /* server */
- av[7], /* realname */
+ user = do_nick("", av[1], // nick
+ av[4], // username
+ av[2], // realhost
+ source, // server
+ av[7], // realname
strtoul(av[0], NULL, 10),
0,
htonl(*ad),
@@ -1553,12 +1553,6 @@ int inspircd_valid_nick(char *nick)
return 1;
}
-int inspircd_valid_chan(char *chan)
-{
- return 1;
-}
-
-
void inspircd_cmd_ctcp(char *source, char *dest, char *buf)
{
char *s;
@@ -1648,7 +1642,6 @@ void moduleAddAnopeCmds()
pmodule_flood_mode_check(inspircd_flood_mode_check);
pmodule_cmd_jupe(inspircd_cmd_jupe);
pmodule_valid_nick(inspircd_valid_nick);
- pmodule_valid_chan(inspircd_valid_chan);
pmodule_cmd_ctcp(inspircd_cmd_ctcp);
pmodule_set_umode(inspircd_set_umode);
}
diff --git a/version.log b/version.log
index 5f9912877..f77312726 100644
--- a/version.log
+++ b/version.log
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="14"
VERSION_EXTRA=""
-VERSION_BUILD="1043"
+VERSION_BUILD="1044"
# $Log$
#
+# BUILD : 1.7.14 (1044)
+# BUGS :
+# NOTES : Update InspIRCd protocol support module
+#
# BUILD : 1.7.14 (1043)
# BUGS :
# NOTES : NULLified *s and *t in moduleGetConfigDirective in src/modules.c by default