1
0
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:
cyberbotx
2009-03-15 23:05:10 +00:00
parent c01cd051c3
commit 89e63ed395
+2 -2
View File
@@ -26,10 +26,10 @@ class CommandMSSend : public Command
CommandReturn Execute(User *u, std::vector<std::string> &params)
{
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;
}