Skip to content
This repository was archived by the owner on Feb 21, 2018. It is now read-only.

Commit 0aa1b0c

Browse files
committed
bot/inject: Hopefully restrict to opers
1 parent 968d400 commit 0aa1b0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/bot/inject.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
DESC="LOL OPER ABUSE"
3030

3131
def initModule(cod):
32-
cod.addBotCommand("INJECT", testbotCommand, True)
32+
cod.addBotCommand("INJECT", inject, True)
3333

3434
def destroyModule(cod):
3535
cod.delBotCommand("INJECT")
3636

3737
def rehash():
3838
pass
3939

40-
def testbotCommand(cod, line, splitline, source, destination):
40+
def inject(cod, line, splitline, source, destination):
4141
"Inject raw commands into the uplink. USE WITH CARE"
4242

4343
cod.sendLine(" ".join(splitline[1:]))

0 commit comments

Comments
 (0)