diff options
author | viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b <viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-03 20:11:12 +0000 |
---|---|---|
committer | viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b <viper viper@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-09-03 20:11:12 +0000 |
commit | 790dc8a4bf326a7598fc41aa8c018e867edee33a (patch) | |
tree | 281aa0f14877734a92336a21355eb945a8d1517e /src/protocol/charybdis.c | |
parent | 482a8aa766c9e1a96ff63b44ed319fe51588c35c (diff) |
BUILD : 1.7.21 (1426) BUGS : 876 NOTES : We now support CIDR in channel ban/invite/except lists. Introduces new CIDR capable generic lists system.
git-svn-id: svn://svn.anope.org/anope/trunk@1426 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1141 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/charybdis.c')
-rw-r--r-- | src/protocol/charybdis.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/protocol/charybdis.c b/src/protocol/charybdis.c index 002cd23b3..23c758324 100644 --- a/src/protocol/charybdis.c +++ b/src/protocol/charybdis.c @@ -104,6 +104,7 @@ IRCDVar myIrcd[] = { 0, /* p10 */ NULL, /* character set */ 0, /* reports sync state */ + 1, /* CIDR channelbans */ } , {NULL} @@ -237,7 +238,7 @@ unsigned long umodes[128] = { 0, /* y */ UMODE_z, /* z */ 0, 0, 0, /* { | } */ - 0, 0 /* ~ ‚ */ + 0, 0 /* ~ � */ }; @@ -741,15 +742,15 @@ int anope_event_tburst(char *source, int ac, char **av) c->topic_time = topic_time; record_topic(av[0]); - + if (ac > 1 && *av[3]) send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[3]); else send_event(EVENT_TOPIC_UPDATED, 2, av[0], ""); - + if (setter) free(setter); - + return MOD_CONT; } |