Roxen.git / server / plugins / protocols / prot_hilfe.pike

version» Context lines:

Roxen.git/server/plugins/protocols/prot_hilfe.pike:238:    {    add_input_line( d );    write( state->finishedp() ? "> " : ">> " );    user->settings->set("hilfe_history",    rl->readline->get_history()->encode());    user->settings->save();    }       class CommandExit {    inherit Tools.Hilfe.Command; -  string help() { return "Exit Hilfe."; } +  string help(string what) { return "Exit Hilfe."; }    -  void exec() { +  void exec(Tools.Hilfe.Evaluator e, string line, array(string) words, +  array(string) tokens) {    begone();    }    }       void create()    {    ::create();    write = lambda(string ... in) { rl->readline->write(sprintf(@in)); };    commands->exit = CommandExit();    commands->quit = commands->exit;