findforwards: Don't compare array to NULL as this is always true.
This commit is contained in:
parent
40173bcbb3
commit
b222b6a05a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue