parent
407613a8db
commit
d7e3e4c9a4
@ -232,7 +232,7 @@ find_channel (server *serv, char *chan)
|
||||
while (list)
|
||||
{
|
||||
sess = list->data;
|
||||
if ((!serv || serv == sess->server) && sess->type != SESS_DIALOG)
|
||||
if ((!serv || serv == sess->server) && sess->type == SESS_CHANNEL)
|
||||
{
|
||||
if (!serv->p_cmp (chan, sess->channel))
|
||||
return sess;
|
||||
|
Loading…
Reference in New Issue
Block a user