]> git.donarmstrong.com Git - infobot.git/blobdiff - src/Modules/Topic.pl
- added support/hack for channel +o as "+o" in bot user file.
[infobot.git] / src / Modules / Topic.pl
index c0d9d95c879abd62284936ae3aa6781389dd857a..4e7e9aac740f438dbe4e050ce79b2536fb4e3d09 100644 (file)
@@ -110,7 +110,7 @@ sub topicNew {
   $topic{$chan}{'Last'} = $topic;
   $topic{$chan}{'Who'}  = $orig{who}."!".$uh;
   $topic{$chan}{'Time'} = time();
-  rawout("TOPIC $chan :$topic");
+  $conn->topic($chan, $topic);
   &topicAddHistory($chan,$topic);
   return 1;
 }