summaryrefslogtreecommitdiff
path: root/src/language.cpp
diff options
context:
space:
mode:
authorNaram Qashat <cyberbotx@cyberbotx.com>2010-07-28 08:16:33 -0400
committerNaram Qashat <cyberbotx@cyberbotx.com>2010-07-28 08:16:33 -0400
commit971df4825c0d36a6931854c23732e829576e2654 (patch)
tree28d687833c59a861014e81b41e8fa61acf16cb58 /src/language.cpp
parentaa9610a56ff18edd0703a3f391c90e1f8a761476 (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.cpp2
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);
}