aboutsummaryrefslogtreecommitdiffstats
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
commitd48bf66f52f3f9ac755da3e5490f31546c05dfbf (patch)
treeea7c9e62ae5ec6ed1b71582e87f93cc959e3d331
parentb3ea2775de8167889568d97c89664b2896970b26 (diff)
//Reaktor/IRC: only direct handle causes stupidity
-rwxr-xr-xIRC/bot2.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/IRC/bot2.py b/IRC/bot2.py
index 0279c0f..f8273ff 100755
--- a/IRC/bot2.py
+++ b/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))