diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2015-10-01 21:39:47 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2015-10-01 21:39:47 +0200 |
commit | e41f5032024635faec37cf04e2a9906eeb42cc32 (patch) | |
tree | 97ec3801d1a64bc902e6fc198ecbb431f5672798 | |
parent | 762aaffecfccee9f284b90bdf90e6c4af26f62cb (diff) | |
download | xK-e41f5032024635faec37cf04e2a9906eeb42cc32.tar.gz xK-e41f5032024635faec37cf04e2a9906eeb42cc32.tar.xz xK-e41f5032024635faec37cf04e2a9906eeb42cc32.zip |
degesch: add an /oper command
Mostly just because bitlbee suggested it to me and it didn't work.
-rw-r--r-- | degesch.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -8144,6 +8144,7 @@ CHANMODE_HANDLER (voice, true, 'v') CHANMODE_HANDLER (devoice, false, 'v') TRIVIAL_HANDLER (list, "LIST") TRIVIAL_HANDLER (who, "WHO") TRIVIAL_HANDLER (motd, "MOTD") +TRIVIAL_HANDLER (oper, "OPER") TRIVIAL_HANDLER (stats, "STATS") TRIVIAL_HANDLER (away, "AWAY") @@ -8274,6 +8275,9 @@ g_command_handlers[] = { "motd", "Get the Message of The Day", "[<target>]", handle_command_motd, HANDLER_SERVER }, + { "oper", "Authenticate as an IRC operator", + "<name> <password>", + handle_command_oper, HANDLER_SERVER }, { "stats", "Query server statistics", "[<query> [<target>]]", handle_command_stats, HANDLER_SERVER }, |