mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Made Notes notify on PRIVMSG as well as JOIN.
This commit is contained in:
parent
cb6f1a1432
commit
977031163e
@ -142,6 +142,10 @@ class Notes(callbacks.Privmsg):
|
|||||||
FROM users
|
FROM users
|
||||||
WHERE name=%s)""", name)
|
WHERE name=%s)""", name)
|
||||||
|
|
||||||
|
def doPrivmsg(self, irc, msg):
|
||||||
|
self.doJoin(irc, msg)
|
||||||
|
callbacks.Privmsg.doPrivmsg(self, irc, msg)
|
||||||
|
|
||||||
def sendnote(self, irc, msg, args):
|
def sendnote(self, irc, msg, args):
|
||||||
"""<recipient> <text>
|
"""<recipient> <text>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user