diff options
author | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-28 08:16:33 -0400 |
---|---|---|
committer | Naram Qashat <cyberbotx@cyberbotx.com> | 2010-07-28 08:16:33 -0400 |
commit | 971df4825c0d36a6931854c23732e829576e2654 (patch) | |
tree | 28d687833c59a861014e81b41e8fa61acf16cb58 /src/language.cpp | |
parent | aa9610a56ff18edd0703a3f391c90e1f8a761476 (diff) |
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.
Diffstat (limited to 'src/language.cpp')
-rw-r--r-- | src/language.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/language.cpp b/src/language.cpp index f38f69dad..318f10f38 100644 --- a/src/language.cpp +++ b/src/language.cpp @@ -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); } |