diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-04 10:12:32 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2005-05-04 10:12:32 +0000 |
commit | a075334df17ee998cb614c1be817946c69a80df3 (patch) | |
tree | c102c5c1c5a7dccf76657dd45a4da8b7907a8f3f | |
parent | 21ef2c095f032ec043f1f92172b5edb9a6e56122 (diff) |
BUILD : 1.7.8 (764) BUGS : 363 NOTES : Missing (c->)ci check in do_topic(), causing segfaults...
git-svn-id: svn://svn.anope.org/anope/trunk@764 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@525 5417fbe8-f217-4b02-8779-1006273d7864
-rw-r--r-- | Changes | 1 | ||||
-rw-r--r-- | src/channels.c | 4 | ||||
-rw-r--r-- | version.log | 6 |
3 files changed, 8 insertions, 3 deletions
@@ -25,6 +25,7 @@ Provided by Anope Dev. <dev@anope.org> - 2005 02/13 A Internal Event support, see EVENTS in the doc folder for help [ #00] 02/05 A Support for Unreal 3.2 +I channel mode. [ #00] 02/03 A Merged anope-win32 branch into the main, now Win32 ready. [ #00] +05/04 F Missing check for valid ChannelInfo in topic handling. [#363] 05/04 F Module language texts sometimes being mixed. [ #00] 05/04 F Wrong datatype in the config parser for OSInfoDBName. [ #00] 05/03 F Wrong variable checking in anope_event_away(). [ #00] diff --git a/src/channels.c b/src/channels.c index e881b21ba..88272b29f 100644 --- a/src/channels.c +++ b/src/channels.c @@ -1169,7 +1169,7 @@ void do_topic(const char *source, int ac, char **av) * channel exactly, there's no need to update anything and we can as * well just return silently without updating anything. -GD */ - if ((ac > 3) && *av[3] && (ci = c->ci) && ci->last_topic + if ((ac > 3) && *av[3] && ci && ci->last_topic && (strcmp(av[3], ci->last_topic) == 0) && (strcmp(av[1], ci->last_topic_setter) == 0)) return; @@ -1190,7 +1190,7 @@ void do_topic(const char *source, int ac, char **av) record_topic(av[0]); - if (ci->last_topic) { + if (ci && ci->last_topic) { send_event(EVENT_TOPIC_UPDATED, 2, av[0], ci->last_topic); } else { send_event(EVENT_TOPIC_UPDATED, 2, av[0], ""); diff --git a/version.log b/version.log index 887ba644d..7637f331e 100644 --- a/version.log +++ b/version.log @@ -8,10 +8,14 @@ VERSION_MAJOR="1" VERSION_MINOR="7" VERSION_PATCH="8" -VERSION_BUILD="763" +VERSION_BUILD="764" # $Log$ # +# BUILD : 1.7.8 (764) +# BUGS : 363 +# NOTES : Missing (c->)ci check in do_topic(), causing segfaults... +# # BUILD : 1.7.8 (763) # BUGS : none # NOTES : Final file normalization, Languages ready for dev release. |