summaryrefslogtreecommitdiff
path: root/src/unreal32.c
diff options
context:
space:
mode:
authordane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-09-07 17:29:07 +0000
committerdane dane@31f1291d-b8d6-0310-a050-a5561fc1590b <dane dane@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-09-07 17:29:07 +0000
commitb0c19c6702c281fd3604356c2533329777b2702c (patch)
treeb20c40a9b164e257ff12a4817fc583a9432268ea /src/unreal32.c
parenteb0d83719b0e43b198d18af2885a378f90822c83 (diff)
BUILD : 1.7.5 (340) BUGS : none NOTES : Applied patch 830 provided by Trystan to resolve several issues.
git-svn-id: svn://svn.anope.org/anope/trunk@340 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@216 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/unreal32.c')
-rw-r--r--src/unreal32.c44
1 files changed, 34 insertions, 10 deletions
diff --git a/src/unreal32.c b/src/unreal32.c
index b0d3a006c..3c83fe854 100644
--- a/src/unreal32.c
+++ b/src/unreal32.c
@@ -63,7 +63,7 @@ IRCDVar ircd[] = {
1, /* TS Topic Forward */
0, /* TS Topci Backward */
0, /* Protected Umode */
- 1, /* Has Admin */
+ 0, /* Has Admin */
0, /* Chan SQlines */
0, /* Quit on Kill */
0, /* SVSMODE unban */
@@ -86,10 +86,11 @@ IRCDVar ircd[] = {
UMODE_x, /* Vhost Mode */
1, /* +f */
1, /* +L */
- CMODE_f,
- CMODE_L,
- 0,
-
+ CMODE_f, /* +f Mode */
+ CMODE_L, /* +L Mode */
+ 0, /* On nick change check if they could be identified */
+ 1, /* No Knock requires +i */
+ NULL, /* CAPAB Chan Modes */
},
{NULL}
};
@@ -123,7 +124,8 @@ IRCDCAPAB ircdcap[] = {
CAPAB_VL, /* VL */
CAPAB_TLKEXT, /* TLKEXT */
0, /* DODKEY */
- 0 /* DOZIP */
+ 0, /* DOZIP */
+ CAPAB_CHANMODE, /* CHANMODE */
}
};
@@ -229,7 +231,7 @@ CBMode cbmodes[128] = {
{CMODE_Q, 0, NULL, NULL},
{CMODE_R, 0, NULL, NULL}, /* R */
{CMODE_S, 0, NULL, NULL},
- {0}, /* T */
+ {CMODE_T, 0, NULL, NULL}, /* T */
{0}, /* U */
{CMODE_V, 0, NULL, NULL},
{0}, /* W */
@@ -291,6 +293,7 @@ CBModeInfo cbmodeinfos[] = {
{'Q', CMODE_Q, 0, NULL, NULL},
{'R', CMODE_R, 0, NULL, NULL},
{'S', CMODE_S, 0, NULL, NULL},
+ {'T', CMODE_T, 0, NULL, NULL},
{'V', CMODE_V, 0, NULL, NULL},
{0}
};
@@ -415,9 +418,8 @@ void moduleAddIRCDMsgs(void) {
m = createMessage("MODE", anope_event_mode); addCoreMessage(IRCD,m);
m = createMessage("MOTD", anope_event_motd); addCoreMessage(IRCD,m);
m = createMessage("NICK", anope_event_nick); addCoreMessage(IRCD,m);
- m = createMessage("NOTICE", NULL); addCoreMessage(IRCD,m);
+ m = createMessage("NOTICE", anope_event_notice); addCoreMessage(IRCD,m);
m = createMessage("PART", anope_event_part); addCoreMessage(IRCD,m);
- m = createMessage("PASS", NULL); addCoreMessage(IRCD,m);
m = createMessage("PING", anope_event_ping); addCoreMessage(IRCD,m);
m = createMessage("PRIVMSG", anope_event_privmsg); addCoreMessage(IRCD,m);
m = createMessage("QUIT", anope_event_quit); addCoreMessage(IRCD,m);
@@ -450,6 +452,8 @@ void moduleAddIRCDMsgs(void) {
m = createMessage("TKL", anope_event_tkl); addCoreMessage(IRCD,m);
m = createMessage("EOS", anope_event_eos); addCoreMessage(IRCD,m);
m = createMessage("PASS", anope_event_pass); addCoreMessage(IRCD,m);
+ m = createMessage("ERROR", anope_event_error); addCoreMessage(IRCD,m);
+ m = createMessage("SMO", anope_event_smo); addCoreMessage(IRCD,m);
}
/* *INDENT-ON* */
@@ -509,7 +513,7 @@ void anope_cmd_svskill(char *source, char *user, const char *fmt, ...)
return;
}
- send_cmd(source, "KILL %s :%s", user, buf);
+ send_cmd(source, "SVSKILL %s :%s", user, buf);
}
void anope_cmd_svsmode(User * u, int ac, char **av)
@@ -1544,4 +1548,24 @@ void anope_cmd_svid_umode3(User * u, char *ts)
// not used
}
+int anope_event_error(char *source, int ac, char **av)
+{
+ if (av[0]) {
+ if (debug) {
+ alog("ERROR: %s", av[0]);
+ }
+ }
+ return MOD_CONT;
+}
+
+int anope_event_notice(char *source, int ac, char **av)
+{
+ return MOD_CONT;
+}
+
+int anope_event_smo(char *source, int ac, char **av)
+{
+ return MOD_CONT;
+}
+
#endif