mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +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
|
return None
|
||||||
|
|
||||||
def error(self, msg, s, *args):
|
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):
|
def getRealIrc(self):
|
||||||
irc = self.__dict__['irc']
|
irc = self.__dict__['irc']
|
||||||
while(hasattr(irc, 'getRealIrc')):
|
if hasattr(irc, 'getRealIrc'):
|
||||||
irc = irc.getRealIrc()
|
return irc.getRealIrc()
|
||||||
return irc
|
else:
|
||||||
|
return irc
|
||||||
|
|
||||||
def __getattr__(self, attr):
|
def __getattr__(self, attr):
|
||||||
return getattr(self.getRealIrc(), attr)
|
return getattr(self.getRealIrc(), attr)
|
||||||
|
Loading…
Reference in New Issue
Block a user