aboutsummaryrefslogtreecommitdiff
path: root/saxrobot
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-03-07 15:13:50 +1300
committerDavid Phillips <david@sighup.nz>2017-03-07 15:13:50 +1300
commit9dfe91a70781292bee0ecadf1ac5e13b495309eb (patch)
tree467e3b3efec49968ecb5e653c663f5f12950028e /saxrobot
parentcd701884e59f533e1ce31dc86cc2a3182d36aa64 (diff)
downloadidalius-9dfe91a70781292bee0ecadf1ac5e13b495309eb.tar.xz
Make identifying with services optional to remote control
Diffstat (limited to 'saxrobot')
-rwxr-xr-xsaxrobot2
1 files changed, 1 insertions, 1 deletions
diff --git a/saxrobot b/saxrobot
index da51f8f..869d976 100755
--- a/saxrobot
+++ b/saxrobot
@@ -84,7 +84,7 @@ sub irc_public {
sub irc_msg {
my ($who, $to, $what, $ided) = @_[ARG0, ARG1, ARG2, ARG3];
my $nick = (split /!/, $who)[0];
- if ($ided != 1) {
+ if ($config{must_id} && $ided != 1) {
$irc->yield(privmsg => $nick => "You must identify with services");
return;
}