- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/modules/IRC/lib/BarnOwl/Module/IRC.pm
r167044b rf094fc4 117 117 BarnOwl::new_command('irc-who' => \&cmd_who); 118 118 BarnOwl::new_command('irc-stats' => \&cmd_stats); 119 BarnOwl::new_command('irc-topic' => \&cmd_topic); 120 } 121 122 $BarnOwl::Hooks::s tartup->add('BarnOwl::Module::IRC::startup');123 $BarnOwl::Hooks::shutdown->add('BarnOwl::Module::IRC::shutdown');119 } 120 121 $BarnOwl::Hooks::startup->add(\&startup); 122 $BarnOwl::Hooks::shutdown->add(\&shutdown); 123 #$BarnOwl::Hooks::mainLoop->add(\&mainloop_hook); 124 124 125 125 ################################################################################ … … 262 262 my $conn = get_connection(\@_); 263 263 my $chan = get_channel(\@_) || die("Usage: $cmd <channel>\n"); 264 $conn->names_tmp([]);265 264 $conn->conn->names($chan); 266 265 } … … 300 299 my $type = shift || die("Usage: $cmd <chiklmouy> [server] \n"); 301 300 $conn->conn->stats($type, @_); 302 }303 304 sub cmd_topic {305 my $cmd = shift;306 my $conn = get_connection(\@_);307 $conn->conn->topic(@_);308 301 } 309 302
Note: See TracChangeset
for help on using the changeset viewer.