diff options
| author | juhulian <julian@rilli.eu> | 2014-04-09 10:30:03 +0200 | 
|---|---|---|
| committer | juhulian <julian@rilli.eu> | 2014-04-09 10:30:03 +0200 | 
| commit | b9d60ee1a0eedc17c2dc16c73f8ed0f6809de5a0 (patch) | |
| tree | e60411cd443b6dd1f7f7f07f841c7d089a48c26d /Reaktor | |
| parent | 5199a91d9a31a382dea55b0a1e13a130f6ac4022 (diff) | |
add on_join
Diffstat (limited to 'Reaktor')
| -rw-r--r-- | Reaktor/IRC/ircasy.py | 6 | 
1 files changed, 6 insertions, 0 deletions
diff --git a/Reaktor/IRC/ircasy.py b/Reaktor/IRC/ircasy.py index 068cd467..b40913ce 100644 --- a/Reaktor/IRC/ircasy.py +++ b/Reaktor/IRC/ircasy.py @@ -113,6 +113,9 @@ class asybot(asychat):      elif command == 'KICK':        self.on_kick(prefix, command, params, rest) +    elif command == 'JOIN': +      self.on_join(prefix, command, params, rest)) +      elif command == '433':        # ERR_NICKNAMEINUSE, retry with another name        self.on_nickinuse(prefix, command, params, rest) @@ -169,6 +172,9 @@ class asybot(asychat):        for chan in params[:-1]:          self.channels.remove(chan) +  def on_join(self, prefix, command, params, rest): +    pass +    def on_privmsg(self, prefix, command, params, rest):      pass  | 
