mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-12 12:09:03 -04:00
Tweaks
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3340 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
1c1cff5f45
commit
1dec63e8be
@ -121,7 +121,7 @@ server_hash serverlist;
|
||||
bool DoOneToOne(std::string prefix, std::string command, std::deque<std::string> ¶ms, std::string target);
|
||||
bool DoOneToAllButSender(std::string prefix, std::string command, std::deque<std::string> ¶ms, std::string omit);
|
||||
bool DoOneToMany(std::string prefix, std::string command, std::deque<std::string> ¶ms);
|
||||
bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string prefix, std::string command, std::deque<std::string> ¶ms);
|
||||
bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string prefix, irc::string command, std::deque<std::string> ¶ms);
|
||||
void ReadConfiguration(bool rebind);
|
||||
|
||||
/* Flatten links and /MAP for non-opers */
|
||||
@ -2451,7 +2451,7 @@ class TreeSocket : public InspSocket
|
||||
{
|
||||
strparams[q] = (char*)params[q].c_str();
|
||||
}
|
||||
Srv->CallCommandHandler(command, strparams, params.size(), who);
|
||||
Srv->CallCommandHandler(command.c_str(), strparams, params.size(), who);
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2570,7 +2570,7 @@ bool DoOneToAllButSenderRaw(std::string data, std::string omit, std::string pref
|
||||
std::deque<std::string> par;
|
||||
par.push_back(params[0]);
|
||||
par.push_back(":"+params[1]);
|
||||
DoOneToOne(prefix,command,par,d->server);
|
||||
DoOneToOne(prefix,command.c_str(),par,d->server);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user