summaryrefslogtreecommitdiffstats
path: root/news
diff options
context:
space:
mode:
authorlassulus <lassulus@googlemail.com>2014-01-11 13:19:09 +0100
committerlassulus <lassulus@googlemail.com>2014-01-11 13:19:09 +0100
commita1a148adbc73e15f1731f4bb2fb22216ac002585 (patch)
treed5f8e325de2db72295c98dc07d40ca37c781579b /news
parent62360486904f1e7dfe3460069936e5cd349c4e80 (diff)
news: action instead of send from controller
Diffstat (limited to 'news')
-rwxr-xr-xnews/controller.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/news/controller.py b/news/controller.py
index 584d020f..cf032e65 100755
--- a/news/controller.py
+++ b/news/controller.py
@@ -23,7 +23,7 @@ class NewsBot(irc.bot.SingleServerIRCBot):
def send(self, target, string):
for line in string.split('\n'):
- self.connection.privmsg(target, line)
+ self.connection.action(target, line)
sleep(1)
def on_privmsg(self, connection, event):