git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@825
c11ca15a-4712-0410-83d8-
924469b57eb5
require "$bot_src_dir/logger.pl";
require "$bot_src_dir/core.pl";
- require "$bot_src_dir/interface.pl";
require "$bot_src_dir/modules.pl";
# load the configuration (params) file.
### misc commands.
###
+sub whatInterface {
+ if (!&IsParam("Interface") or $param{'Interface'} =~ /IRC/) {
+ return "IRC";
+ } else {
+ return "CLI";
+ }
+}
+
sub doExit {
my ($sig) = @_;
+++ /dev/null
-#
-# interface.pl:
-# Author:
-#
-
-# use strict; # TODO
-
-sub whatInterface {
- if (!&IsParam("Interface") or $param{'Interface'} =~ /IRC/) {
- return "IRC";
- } else {
- return "CLI";
- }
-}
-
-1;