Menu

#13 Modification of eggdrop format

closed
nobody
None
5
2012-03-29
2005-09-22
gw-
No

I've already sent this to the mailing list (who knows
if it came - I didnt subscribe). Anyway... this looks
like a better place to post things like that:

I patched the modules/Pisg/Parser/Format/eggdrop.pm
file in order to allow processing of long for other
eggdrop based bots (evangeline) that ussualy just add
the seconds display in their logs. Every line starts
with [HH:MM:SS] and not the ordinary [HH:MM].

I would suggest that you put this modification in the
next release, because it just allows more eggdrop
compatible log formats to be parsed and does not enable
any misunderstanding. So the 13-15th lines are just
changed a little:

    normalline => '^\[(\d+):\d+(?::\d+)?\]

<([^>]+)> (.)$',
actionline => '^[(\d+):\d+(?::\d+)?] Action:
(\S+) (.
)$',
thirdline => '^[(\d+):(\d+)(?::\d+)?] (\S+)
(\S+) (\S+)
(\S+)(.*)$',

Discussion


Log in to post a comment.