Closed sbp closed 10 years ago
diff --git a/plugins/core.py b/plugins/core.py index 6d96afa..370c07b 100644 --- a/plugins/core.py +++ b/plugins/core.py @@ -12,6 +12,9 @@ def connected(irc): def first(irc): irc.send("NICK", irc.config["nick"]) irc.send("USER", irc.config["nick"], "+iw", irc.config["nick"], "saxo") + +@saxo.event("251") +def join(irc): for channel in irc.config["channels"].split(" "): irc.send("JOIN", channel) irc.send("WHO", irc.config["nick"]) @@ -26,4 +29,4 @@ def who(irc): @saxo.event("PING") def ping(irc): - irc.send("PONG", irc.config["nick"]) + irc.send("PONG", irc.config["nick"], irc.parameters[0])
Ugh, why doesn't pasting preserve the indentation?
Oh well, whatever. Software.
Contributed by @dpk.
Fixed in #41 and f5baf31.
Ugh, why doesn't pasting preserve the indentation?
Oh well, whatever. Software.