Skip to content

Commit

Permalink
Remove version() method. People should use $VERSION
Browse files Browse the repository at this point in the history
  • Loading branch information
hinrik committed Jun 21, 2010
1 parent b7225bd commit 7407ecb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -7,6 +7,7 @@ Revision history for Perl extension POE::Component::IRC.
- BotCommand.pm: Add support for custom auth checks
- Cookbook: Add Gtk2 example by Damian Kaczmarek
- Logger.pm: Support a hook for custom log storage
- IRC.pm: Remove redundant version() method

6.32 Tue May 11 13:43:50 GMT 2010
- IRC.pm: Filter out \r in arguments to non-PRIVMSG commands too
Expand Down
4 changes: 0 additions & 4 deletions lib/POE/Component/IRC.pm
Expand Up @@ -1366,10 +1366,6 @@ sub userhost {

# Non-event methods

sub version {
return $VERSION;
}

sub server_name {
my ($self) = @_;
return $self->{INFO}->{ServerName};
Expand Down
1 change: 0 additions & 1 deletion t/02_behavior/01_public_methods.t
Expand Up @@ -11,7 +11,6 @@ my @methods = qw(
server_name
session_id
session_alias
version
send_queue
connected
disconnect
Expand Down

0 comments on commit 7407ecb

Please sign in to comment.