summaryrefslogtreecommitdiffstats
path: root/Reaktor
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-06 21:04:33 +0200
committertv <tv@xso>2011-09-06 21:04:33 +0200
commited7dce49a177d622858e8eb0a09576c88b0412a1 (patch)
tree412eca39f093e7d92adeb858fd2db41aac86a7d5 /Reaktor
parent5edb9c8d31a1ae452558a1b1c7d7eb2a269bb40e (diff)
//Reaktor/IRC: only direct handle causes stupidity
Diffstat (limited to 'Reaktor')
-rwxr-xr-xReaktor/IRC/bot2.py3
1 files changed, 2 insertions, 1 deletions
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))