From ed7dce49a177d622858e8eb0a09576c88b0412a1 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 6 Sep 2011 21:04:33 +0200 Subject: //Reaktor/IRC: only direct handle causes stupidity --- Reaktor/IRC/bot2.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Reaktor') diff --git a/Reaktor/IRC/bot2.py b/Reaktor/IRC/bot2.py index 0279c0f6..f8273ffa 100755 --- a/Reaktor/IRC/bot2.py +++ b/Reaktor/IRC/bot2.py @@ -77,7 +77,8 @@ class IRCBot(SimpleIRCClient): ME(self.target, 'mimimi') else: - PRIVMSG(self.target, _from + ': you are made of stupid') + if _handle != 'ALL': + PRIVMSG(self.target, _from + ': you are made of stupid') def on_welcome(self, connection, event): print('I\'m welcome! :D joining to %s now...' % (self.target)) -- cgit v1.2.3