Permalink
Browse files

Already found a bug, damn. You shouldnt be able to /topic in #twitter.

git-svn-id: http://tircd.googlecode.com/svn/trunk@23 4ab6f0a6-dacb-11dd-a297-4fb579711a53
  • Loading branch information...
crnelson
crnelson committed Mar 4, 2009
1 parent 8cada4d commit 67da69d99f1e309c7f76bf04da938e28efd5abe8
Showing with 2 additions and 0 deletions.
  1. +2 −0 tircd.pl
View
@@ -869,6 +869,8 @@ sub irc_topic {
my ($kernel, $heap, $data) = @_[KERNEL, HEAP, ARG0];
my $chan = $data->{'params'}[0];
my $topic = $data->{'params'}[1];
+
+ return if $chan eq '#twitter';
if (!$heap->{'channels'}->{$chan}->{'joined'}) {
$kernel->yield('server_reply',442,$chan,"You're not on that channel");

0 comments on commit 67da69d

Please sign in to comment.