Browse files

namin convention

  • Loading branch information...
1 parent b7fe350 commit 1f1f8187a8e3945099684a6ee4895871838660e0 @alcy committed May 1, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −5 bot.pl
View
10 bot.pl
@@ -25,11 +25,11 @@
my $disco = AnyEvent::XMPP::Ext::Disco->new;
my $muc = AnyEvent::XMPP::Ext::MUC->new (disco => $disco);
-my $sysrt_user;
-my $sysrt_pass;
-my $sysrt = sub {
+my $rt_user;
+my $rt_pass;
+my $rt_ticket = sub {
my $id = shift;
- $rt->login(username => $sysrt_user, password => $sysrt_pass);
+ $rt->login(username => $rt_user, password => $rt_pass);
my $ticket = $rt->show(type => 'ticket', id => "$id");
return $ticket;
};
@@ -91,7 +91,7 @@
return if $is_echo;
return if $msg->is_delayed;
my $id = $parsemsg->($msg);
- my $ticket = $sysrt->($id);
+ my $ticket = $rt_ticket->($id);
$mainreply->($msg, $ticket);
},
);

0 comments on commit 1f1f818

Please sign in to comment.