From cff3b8662db4bdc56bf1963e3a7f217d1bea0b19 Mon Sep 17 00:00:00 2001 From: Elijah Perrault Date: Wed, 19 Jan 2011 14:42:53 -0700 Subject: [PATCH] Begin on the IRC parser. --- bin/auto | 2 +- doc/CHANGELOG | 1 + src/Parser/IRC.pm | 10 ++++++++++ 3 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 src/Parser/IRC.pm diff --git a/bin/auto b/bin/auto index ac83c4a..cad888f 100755 --- a/bin/auto +++ b/bin/auto @@ -20,7 +20,7 @@ use API::Log qw(println alog dbug); #use DB::Flatfile; use Parser::Config; use Parser::Lang; -#use Parser::IRC; +use Parser::IRC; #use Sys; # Set version information. diff --git a/doc/CHANGELOG b/doc/CHANGELOG index 6e3c205..f763f82 100644 --- a/doc/CHANGELOG +++ b/doc/CHANGELOG @@ -3,6 +3,7 @@ Auto IRC Bot 3.0: Change Log 3.0 Indev ================================================================== + * Begin on the IRC parser. * Added sockets, support for multiple asynchronous sockets. * Bug fix: conf_get() now returns correct data by checking what type of reference the requested value is. diff --git a/src/Parser/IRC.pm b/src/Parser/IRC.pm new file mode 100644 index 0000000..925eb70 --- /dev/null +++ b/src/Parser/IRC.pm @@ -0,0 +1,10 @@ +# Auto IRC Bot. An advanced, lightweight and powerful IRC bot. +# Copyright (C) 2010-2011 Xelhua Development Team (doc/CREDITS) +# This program is free software; rights to this code are stated in doc/LICENSE. + +# Subroutines for parsing incoming data from IRC. +package Parser::IRC; +use strict; +use warnings; + +