mirror of
git://git.psyced.org/git/psyced
synced 2024-08-15 03:25:10 +00:00
use the UNick
This commit is contained in:
parent
8e4e990261
commit
6fd2423ff9
17 changed files with 52 additions and 56 deletions
|
@ -404,7 +404,7 @@ int msg(string source, string mc, string data,
|
|||
break;
|
||||
case "kick": // TODO: we could add a callback for this
|
||||
mc = "_request_execute_kick";
|
||||
vars["_nick_target"] = is_formal(args[1]) ? parse_uniform(args[1])[UResource] : args[1];
|
||||
vars["_nick_target"] = is_formal(args[1]) ? parse_uniform(args[1])[UNick] : args[1];
|
||||
vars["_reason"] = ARGS(2);
|
||||
break;
|
||||
case "ban": // TODO: we could add a callback for this
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue