changed cmd_users output
authorpk910 <philipp@zoelle1.de>
Sun, 21 Aug 2011 06:44:45 +0000 (08:44 +0200)
committerpk910 <philipp@zoelle1.de>
Sun, 21 Aug 2011 06:44:45 +0000 (08:44 +0200)
bot_NeonServ.c
cmd_neonserv_users.c

index 821026d5abff1a2f16a7763f3a5d6a5f41eade54..0a7df69f0af4db2fae91765d37181472ca456139 100644 (file)
@@ -45,10 +45,10 @@ static const struct default_language_entry msgtab[] = {
     {"NS_USERS_HEADER_ACCOUNT", "Accout"},
     {"NS_USERS_HEADER_SEEN", "Last Seen"},
     {"NS_USERS_HEADER_STATE", "Status"},
-    {"NS_USERS_COUNT", "There are \002%d\002 users in %s from level %d to %d."},
-    {"NS_USERS_COUNT_1", "There is \002%d\002 user in %s from level %d to %d."},
-    {"NS_USERS_COUNT_MATCH", "There are \002%d\002 users in %s from level %d to %d. (\002%d\002 matching your request)"},
-    {"NS_USERS_COUNT_MATCH_1", "There is \002%d\002 user in %s from level %d to %d. (\002%d\002 matching your request)"},
+    {"NS_USERS_COUNT", "There are \002%d\002 users in %s."},
+    {"NS_USERS_COUNT_1", "There is \002%d\002 user in %s."},
+    {"NS_USERS_COUNT_MATCH", "There are \002%d\002 users in %s. (\002%d\002 matching your request)"},
+    {"NS_USERS_COUNT_MATCH_1", "There is \002%d\002 user in %s. (\002%d\002 matching your request)"},
     {"NS_USERS_SEEN_HERE", "Here"},
     {"NS_USERS_SEEN_NEVER", "Never"},
     {"NS_USERS_STATE_SUSPENDED", "Suspended"},
index a013cdbffdc9be66c9258914f9c2ca4f7b3fe348..5b6e0657802bf55f0887aaeeee7e7b960ba040f6 100644 (file)
@@ -103,8 +103,8 @@ static void neonserv_cmd_users_async1(struct ClientSocket *client, struct Client
     if(!content_count)
         reply(textclient, user, "NS_TABLE_NONE");
     if(usermask || min_access != 1 || max_access != 500)
-        reply(textclient, user, (table->length == 2 ? "NS_USERS_COUNT_MATCH_1" : "NS_USERS_COUNT_MATCH"), table->length - 1, chan->name, min_access, max_access, content_count);
+        reply(textclient, user, (table->length == 2 ? "NS_USERS_COUNT_MATCH_1" : "NS_USERS_COUNT_MATCH"), table->length - 1, chan->name, content_count);
     else
-        reply(textclient, user, (table->length == 2 ? "NS_USERS_COUNT_1" : "NS_USERS_COUNT"), table->length - 1, chan->name, min_access, max_access);
+        reply(textclient, user, (table->length == 2 ? "NS_USERS_COUNT_1" : "NS_USERS_COUNT"), table->length - 1, chan->name);
     table_free(table);
 }