From 00e15828a138bd046aaef1b78afe4b061ac0e492 Mon Sep 17 00:00:00 2001 From: TingPing Date: Fri, 28 Jun 2013 13:33:08 -0400 Subject: Also support znc.in/server-time-iso --- src/common/inbound.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/inbound.c b/src/common/inbound.c index 2645c438..1fa53cca 100644 --- a/src/common/inbound.c +++ b/src/common/inbound.c @@ -1661,8 +1661,12 @@ inbound_cap_ls (server *serv, char *nick, char *extensions_str, } /* bouncers can prefix a name space to the extension so we should use. - * znc uses "znc.in/server-time". + * znc <= 1.0 uses "znc.in/server-time" and newer use "znc.in/server-time-iso". */ + if (!strcmp (extension, "znc.in/server-time-iso")) + { + strcat (buffer, "znc.in/server-time-iso "); + } if (!strcmp (extension, "znc.in/server-time")) { strcat (buffer, "znc.in/server-time "); -- cgit 1.4.1