projects
/
NeonServV5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
tidied up main.c code
[NeonServV5.git]
/
src
/
modules
/
global.mod
/
cmd_global_restart.c
diff --git
a/src/modules/global.mod/cmd_global_restart.c
b/src/modules/global.mod/cmd_global_restart.c
index 4e057e860d6984f7b94426f34d9a581340981e1a..80f4403520302900c4fc24281ac8a29540847800 100644
(file)
--- a/
src/modules/global.mod/cmd_global_restart.c
+++ b/
src/modules/global.mod/cmd_global_restart.c
@@
-1,4
+1,4
@@
-/* cmd_global_restart.c - NeonServ v5.
5
+/* cmd_global_restart.c - NeonServ v5.
6
* 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
@@
-22,7
+22,5
@@
*/
CMD_BIND(global_cmd_restart) {
*/
CMD_BIND(global_cmd_restart) {
- int hard_restart = 1;
- if(argc > 0 && !stricmp(argv[0], "soft")) hard_restart = 0;
- restart_bot(hard_restart);
+ restart_bot(0);
}
}