summaryrefslogtreecommitdiff
path: root/src/channels.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>2004-10-28 05:09:33 +0000
committertrystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b <trystan trystan@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>2004-10-28 05:09:33 +0000
commite769d30b90b2813b48b60a4072c84aa3fd22c127 (patch)
tree086730a0f34a46b8fa1e0536594854d993ccc5b0 /src/channels.c
parent5c5e36be3bbd1a9a3d02e23f5fc3ba9f652d360d (diff)
BUILD : 1.7.5 (426) BUGS : 133, 196, 200 NOTES : Add method to deal with hardcored sqline in the ircd (133), fixes timestamp errors with TOPIC (196), modes structs externed so mod coders can get to them easier (N/A), MS CHECK now checks the right value (200)
git-svn-id: svn://svn.anope.org/anope/trunk@426 31f1291d-b8d6-0310-a050-a5561fc1590b git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@283 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/channels.c')
-rw-r--r--src/channels.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/channels.c b/src/channels.c
index dc6290986..94cc880f8 100644
--- a/src/channels.c
+++ b/src/channels.c
@@ -929,9 +929,12 @@ void do_topic(const char *source, int ac, char **av)
time_t topic_time;
if (ircd->sjb64) {
- ts = base64dects(av[0]);
+ ts = base64dects(av[2]);
+ if (debug) {
+ alog("debug: encoded TOPIC TS %s converted to %d", av[2], ts);
+ }
} else {
- ts = strtoul(av[0], NULL, 10);
+ ts = strtoul(av[2], NULL, 10);
}
topic_time = ts;