From 08008cf2529138cf92c667896ffb39ba86a00028 Mon Sep 17 00:00:00 2001 From: "trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b" Date: Fri, 28 Jan 2005 02:59:44 +0000 Subject: BUILD : 1.7.7 (558) BUGS : N/A NOTES : Should really fix gcc2 stuff git-svn-id: svn://svn.anope.org/anope/trunk@558 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@411 5417fbe8-f217-4b02-8779-1006273d7864 --- src/ratbox.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ratbox.c b/src/ratbox.c index f3b981a09..3339088d0 100644 --- a/src/ratbox.c +++ b/src/ratbox.c @@ -678,6 +678,7 @@ int anope_event_tburst(char *source, int ac, char **av) { char *setter; Channel *c; + time_t topic_time; if (ac != 4) { return MOD_CONT; @@ -686,7 +687,7 @@ int anope_event_tburst(char *source, int ac, char **av) setter = myStrGetToken(av[2], '!', 0); c = findchan(av[0]); - time_t topic_time = strtol(av[1], NULL, 10); + topic_time = strtol(av[1], NULL, 10); if (!c) { alog("channel: TOPIC %s for nonexistent channel %s", -- cgit