aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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))