Commits

Daniel Leining committed 22d9d70

added notice to channel class

Comments (0)

Files changed (1)

lib/Sentinal/IRC/Channel.pm

 	$chan->{irc}->privmsg($chan->{name}, $msg);
 }
 
+sub notice {
+	my ($chan, $msg) = @_;
+	if (!$msg) {
+		return 0;
+	}
+	$chan->{irc}->notice($chan->{name}, $msg);
+}
+
 1;