mirror of
https://github.com/EQEmu/Server.git
synced 2026-11-29 10:22:17 +00:00
[GM Commands] Split GM Commands Into Separate Files (#1766)
* Split GM commands into their own files * Code cleanup
This commit is contained in:
1 parent
293361a1f7
commit
0550fcfd3f
291 files changed
+19224
-15798
No files matched your search
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#include "../client.h"
|
||||
#include "../groups.h"
|
||||
|
||||
void command_refreshgroup(Client *c, const Seperator *sep)
|
||||
{
|
||||
if (!c) {
|
||||
return;
|
||||
}
|
||||
|
||||
Group *g = c->GetGroup();
|
||||
|
||||
if (!g) {
|
||||
return;
|
||||
}
|
||||
|
||||
database.RefreshGroupFromDB(c);
|
||||
//g->SendUpdate(7, c);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user