mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-26 11:12:19 -05:00
parent
5c872eb110
commit
5331a6145b
@ -1439,10 +1439,15 @@ inbound_banlist (session *sess, time_t stamp, char *chan, char *mask,
|
|||||||
server *serv = sess->server;
|
server *serv = sess->server;
|
||||||
char *nl;
|
char *nl;
|
||||||
|
|
||||||
if ((nl = strchr (time_str, '\n')))
|
if (stamp <= 0)
|
||||||
*nl = 0;
|
{
|
||||||
if (stamp == 0)
|
|
||||||
time_str = "";
|
time_str = "";
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ((nl = strchr (time_str, '\n')))
|
||||||
|
*nl = 0;
|
||||||
|
}
|
||||||
|
|
||||||
sess = find_channel (serv, chan);
|
sess = find_channel (serv, chan);
|
||||||
if (!sess)
|
if (!sess)
|
||||||
|
Loading…
Reference in New Issue
Block a user