From: pk910 Date: Wed, 4 Jan 2012 04:47:05 +0000 (+0100) Subject: fixed cmd_nicklist text X-Git-Tag: v5.3~93 X-Git-Url: http://git.pk910.de/?p=NeonServV5.git;a=commitdiff_plain;h=72394307a3a18504f08c703a722c717aa834182b fixed cmd_nicklist text --- diff --git a/src/bot_NeonServ.c b/src/bot_NeonServ.c index 99fd046..46074d4 100644 --- a/src/bot_NeonServ.c +++ b/src/bot_NeonServ.c @@ -344,7 +344,7 @@ static const struct default_language_entry msgtab[] = { {"NS_NICKLIST_NICK", "Nick"}, {"NS_NICKLIST_STATE", "State"}, {"NS_NICKLIST_ACCESS", "Access"}, - {"NS_NICKLIST_SYNC", "use `nicklist sync` to fix all red and orange entrys in the list above (add opped users with 200 and voiced with 100 access)"}, + {"NS_NICKLIST_SYNC", "use `nicklist sync` to fix all red and orange entrys in the list above (add opped users with %d and voiced with %d access)"}, {"NS_SETBOT_UNKNOWN", "`%d` is an unknown botid."}, /* {ARGS: 50} */ {"NS_SETBOT_HEADER", "$bSettings for botid `%d`:$b"}, /* {ARGS: 50} */ {"NS_SETBOT_SETTING", "$b%s$b is an unknown bot setting."}, /* {ARGS: "strangeSetting"} */ diff --git a/src/cmd_neonserv_nicklist.c b/src/cmd_neonserv_nicklist.c index ca7cfd7..b04ccef 100644 --- a/src/cmd_neonserv_nicklist.c +++ b/src/cmd_neonserv_nicklist.c @@ -212,7 +212,7 @@ static void neonserv_cmd_nicklist_async1(struct ClientSocket *client, struct Cli table_free(table); if(synced_user) { if(!syncusers) - reply(textclient, user, "NS_NICKLIST_SYNC"); + reply(textclient, user, "NS_NICKLIST_SYNC", db_enfops, db_enfvoice); else logEvent(event); }