cobalt.py

changeset 11
90851b22ab88
parent 10
1b726db7b0ec
child 12
e843c08ee51e
equal deleted inserted replaced
10:1b726db7b0ec 11:90851b22ab88
144 self.send_buffer = list() 144 self.send_buffer = list()
145 self.umode = cfg['umode'] if 'umode' in cfg else '' 145 self.umode = cfg['umode'] if 'umode' in cfg else ''
146 self.cfg = cfg 146 self.cfg = cfg
147 self.mynick = '' 147 self.mynick = ''
148 self.verbose = cfg['verbose'] if 'verbose' in cfg else False 148 self.verbose = cfg['verbose'] if 'verbose' in cfg else False
149 self.commandprefix = g_config['commandprefix'] if 'commandprefix' in g_config else False 149 self.commandprefix = g_config['commandprefix'][0] if 'commandprefix' in g_config else '.'
150 150
151 if not 'conflictsuffix' in self.cfg: 151 if not 'conflictsuffix' in self.cfg:
152 self.cfg['conflictsuffix'] = '`' 152 self.cfg['conflictsuffix'] = '`'
153 153
154 self.desired_name = self.cfg['nickname'] if 'nickname' in self.cfg else g_config['nickname'] 154 self.desired_name = self.cfg['nickname'] if 'nickname' in self.cfg else g_config['nickname']

mercurial