irc: Fix initialization of username
patch f0d8dcc0208b2d27059174c3e23ef2e9fb370971
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sun Feb 21 01:01:32 CET 2021
* irc: Fix initialization of username
diff -rN -u old-irgramd/irc.py new-irgramd/irc.py
--- old-irgramd/irc.py 2024-11-23 03:10:25.346991855 +0100
+++ new-irgramd/irc.py 2024-11-23 03:10:25.350991849 +0100
@@ -375,7 +375,7 @@
return self.tg.tid_to_iid[self.iid_to_tid[name]]
class IRCUser(object):
- def __init__(self, stream, address, irc_nick=None, username=None, realname=None):
+ def __init__(self, stream, address, irc_nick=None, username='', realname=None):
self.stream = stream
self.address = address[0]
self.irc_nick = irc_nick