projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** VERSION 5.5.0 ***
[NeonServV5.git]
/
src
/
modules
/
global.mod
/
cmd_global_reloadlang.c
diff --git
a/src/modules/global.mod/cmd_global_reloadlang.c
b/src/modules/global.mod/cmd_global_reloadlang.c
index d99062ec3e27413593ef62fda9cd1c1a8f41914f..efd64c0449ffce31e3dfb007e98de1d0528f74f6 100644
(file)
--- a/
src/modules/global.mod/cmd_global_reloadlang.c
+++ b/
src/modules/global.mod/cmd_global_reloadlang.c
@@
-1,4
+1,4
@@
-/* cmd_global_reloadlang.c - NeonServ v5.
3
+/* cmd_global_reloadlang.c - NeonServ v5.
5
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
* Copyright (C) 2011-2012 Philipp Kreil (pk910)
*
* This program is free software: you can redistribute it and/or modify
@@
-28,8
+28,8
@@
CMD_BIND(global_cmd_reloadlang) {
res = mysql_use();
if((row = mysql_fetch_row(res)) != NULL) {
load_language(row[1], row[0]);
res = mysql_use();
if((row = mysql_fetch_row(res)) != NULL) {
load_language(row[1], row[0]);
- reply(
getTextBot()
, user, "NS_RELOADLANG_DONE", row[0], row[1]);
+ reply(
textclient
, user, "NS_RELOADLANG_DONE", row[0], row[1]);
} else {
} else {
- reply(
getTextBot()
, user, "NS_RELOADLANG_UNKNOWN", argv[0]);
+ reply(
textclient
, user, "NS_RELOADLANG_UNKNOWN", argv[0]);
}
}
\ No newline at end of file
}
}
\ No newline at end of file