mirror of
https://github.com/EQEmu/Server.git
synced 2026-08-29 08:38:20 +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:
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