]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Factoids/Question.pl
woot! %myModules is dead
[infobot.git] / src / Factoids / Question.pl
index 06ab16cde4cc1828d83f3c2397060b3a52ec26cb..4451aaa30d6e3f2224a312bf8e3b33ff4c4f85fd 100644 (file)
@@ -155,8 +155,8 @@ sub doQuestion {
     }
 
     ### TODO: Use &Forker(); move function to Debian.pl
-    if (&IsChanConf("debianForFactoid")) {
-       &loadMyModule($myModules{'Debian'});
+    if (&IsChanConf('debianForFactoid')) {
+       &loadMyModule('Debian');
        $result = &Debian::DebianFind($query);  # ???
        ### TODO: debian module should tell, through shm, that it went
        ###       ok or not.