Skip to content

Instantly share code, notes, and snippets.

@towo
Created August 7, 2012 19:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save towo/3288432 to your computer and use it in GitHub Desktop.
Save towo/3288432 to your computer and use it in GitHub Desktop.
Patches pisg to respect euIRC modes
--- modules/Pisg/Parser/Format/irssi.pm.old 2008-02-13 21:40:25.000000000 +0100
+++ modules/Pisg/Parser/Format/irssi.pm 2010-03-16 02:29:42.000000000 +0100
@@ -10,7 +10,7 @@
my ($type, %args) = @_;
my $self = {
cfg => $args{cfg},
- normalline => '^(\d+):\d+[^<*^!]+<[@%+~& ]?([^>]+)> (.*)',
+ normalline => '^(\d+):\d+[^<*^!]+<[@%+~&! ]?([^>]+)> (.*)',
actionline => '^(\d+):\d+[^ ]+ +\* (\S+) (.*)',
thirdline => '^(\d+):(\d+)[^-]+-\!- (\S+) (\S+) (\S+) (\S+) (\S+)(.*)',
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment