summaryrefslogtreecommitdiff
path: root/src/servers.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>2005-02-28 20:18:28 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-02-28 20:18:28 +0000
commit03573ab1390c3522f8dfa5b4c7f514a6b767fe18 (patch)
tree29f2228a197d9ed785cd8675e08f19a829875895 /src/servers.c
parent607478cb0d4c78f51f17680a4d29cc2c448278c8 (diff)
BUILD : 1.7.8 (588) BUGS : 304 NOTES : 1. nickIsServices() no longer alters the buffer 2. Fixes +I on Unreal and Bahamut 3. Anope Feature Request 285 4. Updates documentation 5. Ratbox compiles clean with make strict 6. Trap and storing of NICKCHARS
git-svn-id: svn://svn.anope.org/anope/trunk@588 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@438 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/servers.c')
-rw-r--r--src/servers.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/servers.c b/src/servers.c
index 49e230fc3..bc2836d5b 100644
--- a/src/servers.c
+++ b/src/servers.c
@@ -330,6 +330,7 @@ void do_server(const char *source, char *servername, char *hops,
s = findserver(servlist, source);
new_server(s, servername, descript, 0, numeric);
+ send_event(EVENT_SERVER_CONNECT, servername);
}
/*************************************************************************/
@@ -358,6 +359,7 @@ void do_squit(const char *source, int ac, char **av)
alog("SQUIT for nonexistent server (%s)!!", av[0]);
return;
}
+ send_event(EVENT_SERVER_SQUIT, s->name);
snprintf(buf, sizeof(buf), "%s %s", s->name,
(s->uplink ? s->uplink->name : ""));
@@ -483,6 +485,12 @@ void capab_parse(int ac, char **av)
ircd->chanmodes = sstrdup(tmp);
}
}
+ if (!stricmp(s, "NICKCHARS")) {
+ uplink_capab |= CAPAB_NICKCHARS;
+ if (tmp) {
+ ircd->nickchars = sstrdup(tmp);
+ }
+ }
if (s) {
free(s);
}