mirror of
https://github.com/anope/anope.git
synced 2026-07-05 03:13:13 +02:00
Remove variable shadowing in ms_send, patch from Phenoix.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2167 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+2
-2
@@ -26,10 +26,10 @@ class CommandMSSend : public Command
|
||||
|
||||
CommandReturn Execute(User *u, std::vector<std::string> ¶ms)
|
||||
{
|
||||
const char *name = params[0].c_str();
|
||||
const char *nick = params[0].c_str();
|
||||
const char *text = params[1].c_str();
|
||||
int z = 0;
|
||||
memo_send(u, name, text, z);
|
||||
memo_send(u, nick, text, z);
|
||||
return MOD_CONT;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user