summaryrefslogtreecommitdiff
path: root/src/ratbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ratbox.c')
-rw-r--r--src/ratbox.c3
1 files changed, 2 insertions, 1 deletions
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",