Browse Source

Add missing type signature

master
Forest Belton 3 years ago
parent
commit
757389aee0
2 changed files with 1 additions and 3 deletions
  1. +0
    -1
      paircd/handler/privmsg.py
  2. +1
    -2
      paircd/main.py

+ 0
- 1
paircd/handler/privmsg.py View File

@ -4,7 +4,6 @@ from paircd.message import Message
from paircd.reply import (
ERR_NOSUCHNICK,
ERR_NOTEXTTOSEND,
ERR_NOTREGISTERED,
PRIVMSG,
RPL_AWAY,
)

+ 1
- 2
paircd/main.py View File

@ -50,10 +50,9 @@ async def serve() -> None:
await server.serve_forever()
def main():
def main() -> None:
asyncio.run(serve())
if __name__ == "__main__":
main()

Loading…
Cancel
Save