mirror of
https://github.com/anope/anope.git
synced 2026-07-02 22:23:13 +02:00
Reworked live SQL support yet again
This commit is contained in:
@@ -34,10 +34,10 @@ class CommandNSSet : public Command
|
||||
source.Reply(" ");
|
||||
source.Reply(_("Sets various nickname options. \037option\037 can be one of:"));
|
||||
Anope::string this_name = source.command;
|
||||
for (BotInfo::command_map::iterator it = source.owner->commands.begin(), it_end = source.owner->commands.end(); it != it_end; ++it)
|
||||
for (BotInfo::command_map::const_iterator it = source.owner->commands.begin(), it_end = source.owner->commands.end(); it != it_end; ++it)
|
||||
{
|
||||
const Anope::string &c_name = it->first;
|
||||
CommandInfo &info = it->second;
|
||||
const CommandInfo &info = it->second;
|
||||
|
||||
if (c_name.find_ci(this_name + " ") == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user