projects
/
poe-component-irc-plugin-seen.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix behaviour on privmsg and add tests for privmsg
[poe-component-irc-plugin-seen.git]
/
lib
/
POE
/
Component
/
IRC
/
Plugin
/
Seen.pm
diff --git
a/lib/POE/Component/IRC/Plugin/Seen.pm
b/lib/POE/Component/IRC/Plugin/Seen.pm
index cc2f76defd9488cabf7938e0423cbc921ad714b6..a8f7d80d6b21fdde793bd044804d90368efb3d42 100644
(file)
--- a/
lib/POE/Component/IRC/Plugin/Seen.pm
+++ b/
lib/POE/Component/IRC/Plugin/Seen.pm
@@
-83,7
+83,7
@@
sub S_msg {
my ($self, $irc, $rfullname, $rtargets, $rmessage) = @_;
my $nick = parse_user $$rfullname;
my ($self, $irc, $rfullname, $rtargets, $rmessage) = @_;
my $nick = parse_user $$rfullname;
- seen $self, $irc, $
$rmessage
, $$rtargets->[0], $nick if $$rmessage =~ /^\s*!?seen\s+([^ ]+)/
+ seen $self, $irc, $
1
, $$rtargets->[0], $nick if $$rmessage =~ /^\s*!?seen\s+([^ ]+)/
}
1;
}
1;
This page took
0.009785 seconds
and
4
git commands to generate.