mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-29 20:52:16 -05:00
Also support znc.in/server-time-iso
This commit is contained in:
parent
ad926e9b07
commit
00e15828a1
@ -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.
|
/* 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"))
|
if (!strcmp (extension, "znc.in/server-time"))
|
||||||
{
|
{
|
||||||
strcat (buffer, "znc.in/server-time ");
|
strcat (buffer, "znc.in/server-time ");
|
||||||
|
Loading…
Reference in New Issue
Block a user