GITSERV privmsg shim
This commit is contained in:
parent
2364bfadb1
commit
dc5427ca59
1 changed files with 3 additions and 1 deletions
|
@ -330,7 +330,9 @@ def session(connection, client):
|
|||
else:
|
||||
connection.sendall(bytes(f":{server} 505 {pending} :Cant change mode for other users\r\n","UTF-8"))
|
||||
|
||||
elif command == "GITSERV":
|
||||
elif command == "GITSERV" or (command == "PRIVMSG" and args[0].lower() == "gitserv"):
|
||||
if command == "PRIVMSG":
|
||||
args = args[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":
|
||||
|
|
Loading…
Reference in a new issue