From 7add422961cdff143f72e8202dfee71ba9bb8724 Mon Sep 17 00:00:00 2001 From: dms Date: Sun, 24 Nov 2002 12:44:47 +0000 Subject: [PATCH] - admin flag to allow DCC CHAT functions available elsewhere. requested by tim riker. there you go :) untested. git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@698 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Process.pl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/Process.pl b/src/Process.pl index 75499a2..be05fdf 100644 --- a/src/Process.pl +++ b/src/Process.pl @@ -343,6 +343,15 @@ sub process { return 'SOMETHING 1'; } + # allow administration of bot via messages (default is DCC CHAT only) + if (&IsFlag("A")) { + &loadMyModule( $myModules{'ircdcc'} ); + $er = &userDCC(); + if (!defined $er) { + return 'SOMETHING 2'; + } + } + if (0 and $addrchar) { &msg($who, "I don't trust people to use the core commands while addressing me in a short-cut way."); return; -- 2.39.2