Skip to content

Commit

Permalink
Use network.username, if available, for irc3 bot config
Browse files Browse the repository at this point in the history
instead of user's username.
  • Loading branch information
rtnpro committed Sep 10, 2016
1 parent d1f7d8b commit 084b24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ircb/bouncer.py
Expand Up @@ -155,7 +155,7 @@ def _on_network_create_update(self, network):
id=network.id,
user_id=user.id,
name=network.name,
username=user.username,
username=network.username or user.username,
user=user.username,
realname=network.realname or ' ',
password=network.password,
Expand Down

0 comments on commit 084b24d

Please sign in to comment.