/[irc-logger]/trunk/bin/irc-logger.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/bin/irc-logger.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 109 by dpavlin, Sun Mar 9 21:13:15 2008 UTC revision 111 by dpavlin, Sun Mar 9 22:12:06 2008 UTC
# Line 835  POE::Session->create( inline_states => { Line 835  POE::Session->create( inline_states => {
835    
836                          $res = "usage: /msg $NICK comand | commands: stat - user/message stat | last - show backtrace | grep foobar - find foobar";                          $res = "usage: /msg $NICK comand | commands: stat - user/message stat | last - show backtrace | grep foobar - find foobar";
837    
838                  } elsif ($msg =~ m/^msg\s+(\S+)\s+(.*)$/i) {                  } elsif ($msg =~ m/^(privmsg|notice)\s+(\S+)\s+(.*)$/i) {
839    
840                          _log ">> /msg $1 $2";                          _log ">> /$1 $2 $3";
841                          $_[KERNEL]->post( $irc => privmsg => $1, $2 );                          $_[KERNEL]->post( $irc => $1 => $2, $3 );
842                          $res = '';                          $res = '';
843    
844                  } elsif ($msg =~ m/^stat.*?\s*(\d*)/i) {                  } elsif ($msg =~ m/^stat.*?\s*(\d*)/i) {

Legend:
Removed from v.109  
changed lines
  Added in v.111

  ViewVC Help
Powered by ViewVC 1.1.26