X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2FCommandStubs.pl;fp=src%2FCommandStubs.pl;h=bcb794a1abd85a3b556d568774f957b43c9fb5c2;hb=427ddda525082d1a4e23a5786c7c902cd262119f;hp=e66e6d8dcd99b823f518444d08f3a3144b5e2dee;hpb=2a105f1e4a7325741fea2664e5cc8dd7deea842d;p=infobot.git diff --git a/src/CommandStubs.pl b/src/CommandStubs.pl index e66e6d8..bcb794a 100644 --- a/src/CommandStubs.pl +++ b/src/CommandStubs.pl @@ -49,7 +49,7 @@ sub parseCmdHook { &shmFlush(); - if ( !defined %cmdhooks ) { + if ( !%cmdhooks ) { &WARN('%cmdhooks does not exist.'); return 0; }