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:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user