This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Search found 1 match

by cmouse
Wed Nov 25, 2009 6:18 am
Forum: Eggdrop Help
Topic: Small coding error
Replies: 2
Views: 3117

Small coding error

chanprog.c: In function ‘isowner’:
chanprog.c:671: warning: the address of ‘owner’ will always evaluate as ‘true’

if (!owner || !name)
return 0;

makes no sense. it will always evaluate true, since owner is extern char owner[]. Perhaps insted just check

if (!name)
return 0;