summaryrefslogtreecommitdiff
path: root/src/plexus.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plexus.c')
-rw-r--r--src/plexus.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plexus.c b/src/plexus.c
index 74f0bd49c..db0811631 100644
--- a/src/plexus.c
+++ b/src/plexus.c
@@ -103,6 +103,8 @@ IRCDVar ircd[] = {
0, /* Can remove User Channel Modes with SVSMODE */
0, /* Sglines are not enforced until user reconnects */
"h", /* vhost char */
+ 0, /* ts6 */
+ 0, /* support helper umode */
}
,
{NULL}
@@ -1052,10 +1054,9 @@ int anope_event_whois(char *source, int ac, char **av)
/* EVENT: SERVER */
int anope_event_server(char *source, int ac, char **av)
{
- char *uplink;
-
- if (!stricmp(av[1], "1"))
+ if (!stricmp(av[1], "1")) {
uplink = sstrdup(av[0]);
+ }
do_server(source, av[0], av[1], av[2], NULL);
return MOD_CONT;
}
@@ -1633,7 +1634,7 @@ void anope_cmd_ctcp(char *source, char *dest, const char *fmt, ...)
s = normalizeBuffer(buf);
}
- send_cmd(source, "%s NOTICE :\1%s \1", dest, s);
+ send_cmd(source, "NOTICE %s :\1%s \1", dest, s);
}
#endif