mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-07 01:54:08 +01:00
Let's not bother getting database if it's not a channel. Good call.
This commit is contained in:
parent
ab6d1673f3
commit
ae048d977a
@ -173,6 +173,7 @@ class URL(callbacks.PrivmsgCommandAndRegexp):
|
|||||||
|
|
||||||
def doPrivmsg(self, irc, msg):
|
def doPrivmsg(self, irc, msg):
|
||||||
channel = msg.args[0]
|
channel = msg.args[0]
|
||||||
|
if ircutils.isChannel(channel):
|
||||||
db = self.getDb(channel)
|
db = self.getDb(channel)
|
||||||
if ircmsgs.isAction(msg):
|
if ircmsgs.isAction(msg):
|
||||||
text = ircmsgs.unAction(msg)
|
text = ircmsgs.unAction(msg)
|
||||||
|
Loading…
Reference in New Issue
Block a user