aboutsummaryrefslogtreecommitdiff
path: root/modules/join.py
diff options
context:
space:
mode:
authorGravatar dngfx2018-08-31 10:50:37 +0100
committerGravatar dngfx2018-08-31 10:50:37 +0100
commitabed9cf4ea71dcbad2dd2c049683b8d14b942e09 (patch)
tree3e40caf63fa7e1500469f4ad9a0c45c51808aad4 /modules/join.py
parentFix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs (diff)
signature
Reformat
Diffstat (limited to 'modules/join.py')
-rw-r--r--modules/join.py10
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/join.py b/modules/join.py
index 3a95d1c7..996e894b 100644
--- a/modules/join.py
+++ b/modules/join.py
@@ -1,8 +1,6 @@
-
-
class Module(object):
- def __init__(self, bot):
- bot.events.on("received").on("numeric").on("001").hook(self.do_join)
+ def __init__(self, bot):
+ bot.events.on("received").on("numeric").on("001").hook(self.do_join)
- def do_join(self, event):
- event["server"].send_join("#bitbot")
+ def do_join(self, event):
+ event["server"].send_join("#bitbot")