projects
/
docbot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c88da8d
)
- fix spacing
author
Andreas Scherbaum
<andreas@scherbaum.biz>
Sun, 22 Jan 2012 12:36:21 +0000
(13:36 +0100)
committer
Andreas Scherbaum
<andreas@scherbaum.biz>
Sun, 22 Jan 2012 12:36:21 +0000
(13:36 +0100)
docbot.pl
patch
|
blob
|
blame
|
history
diff --git
a/docbot.pl
b/docbot.pl
index 7c2e060a4d28b2583f02ac47688abc1ba08d0b11..5a4b95aeb2c4ed31a4f7e7de41de75102e245ec9 100755
(executable)
--- a/
docbot.pl
+++ b/
docbot.pl
@@
-1316,8
+1316,6
@@
sub format_time_short_exact {
}
-
-
# handle_command()
#
# wrapper to handle all commands
@@
-1568,10
+1566,10
@@
sub on_message {
if (length($answer)) {
# if command was called in channel print answer to channel, if it was PM print it as PM
if (lc($channel) eq lc($irc->nick_name())) {
- $irc->yield( privmsg => $nick, $answer);
+ $irc->yield( privmsg => $nick, $answer
);
}
else {
- $irc->yield( privmsg => $channel, $answer);
+ $irc->yield( privmsg => $channel, $answer
);
}
return;
}