0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-12-29 08:54:02 +01:00

findforwards: Don't compare array to NULL as this is always true.

This commit is contained in:
Jilles Tjoelker 2014-03-02 21:47:36 +01:00
parent 40173bcbb3
commit b222b6a05a

View file

@ -93,7 +93,7 @@ m_findforwards(struct Client *client_p, struct Client *source_p, int parc, const
RB_DLINK_FOREACH(ptr, global_channel_list.head)
{
chptr = ptr->data;
if(chptr->mode.forward && !irccmp(chptr->mode.forward, parv[1]))
if(!irccmp(chptr->mode.forward, parv[1]))
{
if(p + strlen(chptr->chname) >= end - 13)
{