1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 06:23:13 +02:00

Clean up send.cpp a bit to use Anope::string, as well as fix Anope::string's replace_all_* functions to actually work if the original and replacement strings are not the same length.

This commit is contained in:
Naram Qashat
2010-07-28 08:16:33 -04:00
parent aa9610a56f
commit 971df4825c
4 changed files with 40 additions and 52 deletions
+1 -1
View File
@@ -338,7 +338,7 @@ const char *getstring(const NickCore *nc, int index)
return langtexts[langidx][index];
}
const char *getstring(User *u, int index)
const char *getstring(const User *u, int index)
{
return getstring(u->Account(), index);
}