1
mirror of git://git.acid.vegas/IRCP.git synced 2024-11-23 00:16:41 +00:00

Never declared sendmsg function lol

This commit is contained in:
Dionysus 2023-06-18 18:02:22 -04:00
parent a8a6c431cb
commit 3533261c36
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -123,6 +123,9 @@ class probe:
self.reader = None self.reader = None
self.write = None self.write = None
async def sendmsg(self, target, msg):
await self.raw(f'PRIVMSG {target} :{msg}')
async def run(self): async def run(self):
async with self.semaphore: async with self.semaphore:
try: try: