git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@200
c11ca15a-4712-0410-83d8-
924469b57eb5
# auth if 1) user and host match 2) user and nick match.
# this may change in the future.
- if ($this{'user'} =~ /^\Q$local{'user'}$/i) {
+ if ($this{'user'} =~ /^\Q$local{'user'}\E$/i) {
return 2 if ($this{'host'} eq $local{'host'});
return 1 if ($this{'nick'} eq $local{'nick'});
}
&shmWrite($shm,"SET FORKPID $label $$");
}
+ ### TODO: use AUTOLOAD
if (!&loadMyModule($myModules{$label})) {
&DEBUG("Forker: failed?");
return;