3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 13:09:23 +01:00

relay: allow slashes for clientbot

This commit is contained in:
James Lu 2016-07-17 23:10:49 -07:00
parent f970f760aa
commit eb24e01619

View File

@ -118,7 +118,7 @@ def normalizeNick(irc, netname, nick, times_tagged=0, uid=''):
# Charybdis, IRCu, etc. don't allow / in nicks, and will SQUIT with a protocol
# violation if it sees one. Or it might just ignore the client introduction and
# cause bad desyncs.
protocol_allows_slashes = protoname.startswith(('insp', 'unreal')) or \
protocol_allows_slashes = protoname.startswith(('insp', 'unreal', 'clientbot')) or \
irc.serverdata.get('relay_force_slashes')
if '/' not in separator or not protocol_allows_slashes: