summaryrefslogtreecommitdiff
path: root/src/protocol/rageircd.c
diff options
context:
space:
mode:
authorgeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-06-25 20:58:45 +0000
committergeniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-06-25 20:58:45 +0000
commitc638cd622d5ea5b2e14ff0d2cbea84106f551e10 (patch)
treef27bbbf08841f59f72f329694f417a1fa88c9e79 /src/protocol/rageircd.c
parent2ea6359a1a6a0e1f80777a4d57a66d5b5064cfd6 (diff)
BUILD : 1.7.10 (832) BUGS : NOTES : Updated Italian langfile and removed some leftovers of userban stuff
git-svn-id: svn://svn.anope.org/anope/trunk@832 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@585 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/protocol/rageircd.c')
-rw-r--r--src/protocol/rageircd.c24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/protocol/rageircd.c b/src/protocol/rageircd.c
index 1db8ad6b0..42eb8d327 100644
--- a/src/protocol/rageircd.c
+++ b/src/protocol/rageircd.c
@@ -1,4 +1,5 @@
/* Rage IRCD functions
+/* Rage IRCD functions
*
* (C) 2003-2005 Anope Team
* Contact us at info@anope.org
@@ -561,7 +562,6 @@ void moduleAddIRCDMsgs(void) {
}
/* *INDENT-ON* */
-
int anope_event_error(char *source, int ac, char **av)
{
if (ac >= 1) {
@@ -579,16 +579,18 @@ int anope_event_burst(char *source, int ac, char **av)
s = findserver(servlist, source);
if (ac > 1) {
/* for future use - start burst */
- } else {
- /* If we found a server with the given source, that one just
- * finished bursting. If there was no source, then our uplink
- * server finished bursting. -GD
- */
- if (!s && serv_uplink)
- s = serv_uplink;
- finish_sync(s, 1);
- }
- return MOD_CONT;
+} else {
+
+ /* If we found a server with the given source, that one just
+ * finished bursting. If there was no source, then our uplink
+ * server finished bursting. -GD
+ */
+ if (!s && serv_uplink)
+ s = serv_uplink;
+ finish_sync(s, 1);
+}
+
+return MOD_CONT;
}
void rageircd_cmd_sqline(char *mask, char *reason)