diff options
-rw-r--r-- | alternativ_nick.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/alternativ_nick.py b/alternativ_nick.py index 61dc43d..aae2435 100644 --- a/alternativ_nick.py +++ b/alternativ_nick.py @@ -75,6 +75,10 @@ def nick_change(phenny, input): if input.nick == phenny.nick: _set_nick(phenny, input) print >> sys.stderr, ("Changed nick to: %s" % phenny.nick) + + # Trying to identify (just in case it did not work, during startup) + if hasattr(phenny.config, 'password'): + phenny.msg('NickServ', 'IDENTIFY %s' % phenny.config.password) nick_change.rule = r'(.*)' nick_change.event = 'NICK' |