]> git.donarmstrong.com Git - infobot.git/blobdiff - src/CommandStubs.pl
remove defined %hash and defined @array tests
[infobot.git] / src / CommandStubs.pl
index e66e6d8dcd99b823f518444d08f3a3144b5e2dee..bcb794a1abd85a3b556d568774f957b43c9fb5c2 100644 (file)
@@ -49,7 +49,7 @@ sub parseCmdHook {
 
     &shmFlush();
 
-    if ( !defined %cmdhooks ) {
+    if ( !%cmdhooks ) {
         &WARN('%cmdhooks does not exist.');
         return 0;
     }