mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Changed a log.info to a log.warning (more appropriate).
This commit is contained in:
parent
f85a069eec
commit
40dcc0eb1c
@ -528,13 +528,14 @@ class ConfigIrcProxy(object):
|
||||
return None
|
||||
|
||||
def error(self, msg, s, *args):
|
||||
log.info('ConfigIrcProxy saw an error: %s' % s)
|
||||
log.warning('ConfigIrcProxy saw an error: %s' % s)
|
||||
|
||||
def getRealIrc(self):
|
||||
irc = self.__dict__['irc']
|
||||
while(hasattr(irc, 'getRealIrc')):
|
||||
irc = irc.getRealIrc()
|
||||
return irc
|
||||
if hasattr(irc, 'getRealIrc'):
|
||||
return irc.getRealIrc()
|
||||
else:
|
||||
return irc
|
||||
|
||||
def __getattr__(self, attr):
|
||||
return getattr(self.getRealIrc(), attr)
|
||||
|
Loading…
Reference in New Issue
Block a user