From 45729d48cc45e479dba655ae46b919eb22493955 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 25 Mar 2017 13:41:21 -0700 Subject: [PATCH] p10: mode definition tweaks - rename cmode +d to "had_delayjoin" (from "had_delayjoins") - add cmode +R for ircu - --- protocols/p10.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/p10.py b/protocols/p10.py index f4b79e2..5359029 100644 --- a/protocols/p10.py +++ b/protocols/p10.py @@ -785,7 +785,7 @@ class P10Protocol(IRCS2SProtocol): 'redirect': 'L', 'oplevel_apass': 'A', 'oplevel_upass': 'U', 'adminonly': 'a', 'operonly': 'O', 'regmoderated': 'M', 'nonotice': 'N', 'permanent': 'z', 'hidequits': 'Q', 'noctcp': 'C', 'noamsg': 'T', 'blockcolor': 'c', - 'stripcolor': 'S', 'had_delayjoins': 'd', 'regonly': 'r', + 'stripcolor': 'S', 'had_delayjoin': 'd', 'regonly': 'r', '*A': 'be', '*B': 'AUk', '*C': 'Ll', '*D': 'psmtinrDRaOMNzQCTcSd'} self.irc.umodes.update({'servprotect': 'k', 'sno_debug': 'g', 'cloak': 'x', 'privdeaf': 'D', 'hidechans': 'n', 'deaf_commonchan': 'q', 'bot': 'B', 'deaf': 'd', @@ -809,7 +809,7 @@ class P10Protocol(IRCS2SProtocol): elif p10_ircd == 'ircu': # ircu proper has even fewer modes. cmodes = {'oplevel_apass': 'A', 'oplevel_upass': 'U', 'delayjoin': 'D', 'regonly': 'r', - 'had_delayjoin': 'd', 'blockcolor': 'c', 'noctcp': 'C', + 'had_delayjoin': 'd', 'blockcolor': 'c', 'noctcp': 'C', 'registered': 'R', '*A': 'b', '*B': 'AUk', '*C': 'l', '*D': 'imnpstrDdRcC'} self.irc.umodes.update({'servprotect': 'k', 'sno_debug': 'g', 'cloak': 'x', 'deaf': 'd', 'registered': 'r', 'locop': 'O',