1
0
mirror of https://github.com/anope/anope.git synced 2026-07-04 13:33:13 +02:00

BUILD : 1.7.17 (1207) BUGS : 641 NOTES : Fixed EVENT_TOPIC_UPDATED not being sent when the topic was updated from within certain protocol modules

git-svn-id: svn://svn.anope.org/anope/trunk@1207 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@926 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-12-10 12:27:56 +00:00
parent 01e6313e3a
commit 3fb604b1c7
9 changed files with 58 additions and 1 deletions
+1
View File
@@ -12,6 +12,7 @@ Anope Version S V N
12/09 F Reviewed and updated all of the MySQL code. [ #00]
12/09 F Langfiles had CHANAKILL instead of CHANKILL in syntax lines. [#640]
12/10 F NickServ ALIST not accepting Founder as level param. [#629]
12/10 F EVENT_TOPIC_UPDATES was not always sent when it should be. [#641]
Anope Version 1.7.17
--------------------
+12
View File
@@ -655,6 +655,11 @@ int anope_event_topic(char *source, int ac, char **av)
c->topic_time = topic_time;
record_topic(av[0]);
if (ac > 1 && *av[1])
send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]);
else
send_event(EVENT_TOPIC_UPDATED, 2, av[0], "");
}
return MOD_CONT;
}
@@ -701,8 +706,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;
}
+5
View File
@@ -568,6 +568,11 @@ int anope_event_topic(char *source, int ac, char **av)
c->topic_time = topic_time;
record_topic(av[0]);
if (ac > 1 && *av[1])
send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]);
else
send_event(EVENT_TOPIC_UPDATED, 2, av[0], "");
}
return MOD_CONT;
}
+6
View File
@@ -1153,6 +1153,12 @@ int anope_event_topic(char *source, int ac, char **av)
c->topic_time = topic_time;
record_topic(av[0]);
if (ac > 1 && *av[1])
send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]);
else
send_event(EVENT_TOPIC_UPDATED, 2, av[0], "");
return MOD_CONT;
}
+6
View File
@@ -666,6 +666,12 @@ anope_event_topic (char *source, int ac, char **av)
c->topic_time = topic_time;
record_topic (av[0]);
if (ac > 1 && *av[1])
send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]);
else
send_event(EVENT_TOPIC_UPDATED, 2, av[0], "");
}
return MOD_CONT;
}
+6
View File
@@ -609,6 +609,12 @@ anope_event_topic (char *source, int ac, char **av)
c->topic_time = topic_time;
record_topic (av[0]);
if (ac > 1 && *av[1])
send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]);
else
send_event(EVENT_TOPIC_UPDATED, 2, av[0], "");
}
return MOD_CONT;
}
+5
View File
@@ -646,6 +646,11 @@ int anope_event_topic(char *source, int ac, char **av)
c->topic_time = topic_time;
record_topic(av[0]);
if (ac > 1 && *av[1])
send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]);
else
send_event(EVENT_TOPIC_UPDATED, 2, av[0], "");
}
return MOD_CONT;
}
+12
View File
@@ -685,6 +685,11 @@ int anope_event_topic(char *source, int ac, char **av)
c->topic_time = topic_time;
record_topic(av[0]);
if (ac > 1 && *av[1])
send_event(EVENT_TOPIC_UPDATED, 2, av[0], av[1]);
else
send_event(EVENT_TOPIC_UPDATED, 2, av[0], "");
}
return MOD_CONT;
}
@@ -731,8 +736,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;
}
+5 -1
View File
@@ -9,10 +9,14 @@ VERSION_MAJOR="1"
VERSION_MINOR="7"
VERSION_PATCH="17"
VERSION_EXTRA="-svn"
VERSION_BUILD="1206"
VERSION_BUILD="1207"
# $Log$
#
# BUILD : 1.7.17 (1207)
# BUGS : 641
# NOTES : Fixed EVENT_TOPIC_UPDATED not being sent when the topic was updated from within certain protocol modules
#
# BUILD : 1.7.17 (1206)
# BUGS : 631
# NOTES : Fixed small language mistake in en_us.l and nl.l