summaryrefslogtreecommitdiff
path: root/src/ratbox.c
diff options
context:
space:
mode:
authortrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-28 02:59:44 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2005-01-28 02:59:44 +0000
commit08008cf2529138cf92c667896ffb39ba86a00028 (patch)
treefa02e10dcae7b31fd22c81a82609c6935173310f /src/ratbox.c
parent7193a60506936bd4cb0bc5541d09edf6db914c03 (diff)
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
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",