Get our hostname from WHO when we create fake events

This commit is contained in:
2022-08-09 07:20:30 +01:00
parent 8dc176aa54
commit ec943203d0
2 changed files with 12 additions and 3 deletions

View File

@@ -482,7 +482,6 @@ class API(object):
@app.route("/irc/msg/<net>/<num>/<channel>/", methods=["PUT"])
@login_required
def irc_send_message(self, request, net, num, channel):
print("IRC SEND", net, num, channel)
try:
data = loads(request.content.read())
except JSONDecodeError: