simple server RPL_ISUPPORT log
This commit is contained in:
parent
298dd8eb5d
commit
1120290539
1 changed files with 9 additions and 1 deletions
8
irc.py
8
irc.py
|
@ -517,6 +517,14 @@ class PesterHandler(DefaultCommandHandler):
|
||||||
PchumLog.warning(e)
|
PchumLog.warning(e)
|
||||||
self.parent.setConnectionBroken()
|
self.parent.setConnectionBroken()
|
||||||
|
|
||||||
|
def featurelist(self, target, handle, *params):
|
||||||
|
# RPL_ISUPPORT
|
||||||
|
features = params[:-1]
|
||||||
|
PchumLog.info("Server featurelist: " + str(features))
|
||||||
|
# for x in features:
|
||||||
|
# if x.upper().startswith("METADATA"):
|
||||||
|
# print("True")
|
||||||
|
# self.metadata_supported = True
|
||||||
|
|
||||||
def nicknameinuse(self, server, cmd, nick, msg):
|
def nicknameinuse(self, server, cmd, nick, msg):
|
||||||
newnick = "pesterClient%d" % (random.randint(100,999))
|
newnick = "pesterClient%d" % (random.randint(100,999))
|
||||||
|
|
Loading…
Reference in a new issue