diff --git a/server.py b/server.py index 6011b1f..ac65c66 100644 --- a/server.py +++ b/server.py @@ -411,6 +411,8 @@ def session(connection, client): elif command == "GITSERV" or (command == "PRIVMSG" and args[0].lower() == "gitserv"): if command == "PRIVMSG": args = args[1:] + if args[0][0] == ":": + args[0] == args[0][1:] if len(args) == 0: connection.sendall(bytes(f":{server} 461 {pending} {command} :Not enough parameters\r\n","UTF-8")) elif args[0].upper() == "PULL":