mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-12 05:02:32 +01:00
SnarfIrc needs a helpful getattr
This commit is contained in:
parent
b76ed61d5b
commit
7e1184f47d
@ -190,6 +190,9 @@ class SnarfIrc(object):
|
||||
_snarfed.enqueue(self.channel, self.url)
|
||||
self.irc.reply(*args, **kwargs)
|
||||
|
||||
def __getattr__(self, attr):
|
||||
return getattr(self.irc, attr)
|
||||
|
||||
def urlSnarfer(f):
|
||||
"""Protects the snarfer from loops and whatnot."""
|
||||
f = _threadedWrapMethod(f)
|
||||
|
Loading…
Reference in New Issue
Block a user