1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-09 15:43:12 +02:00

More (typedef) struct name changes. Mostly configuration but also

aCommand to RealCommand. Although not sure if this latter makes
things a lot more descriptive :D. Can revisit later.
(more to follow)
This commit is contained in:
Bram Matthys
2019-09-11 10:04:47 +02:00
parent 23116d344a
commit f55682cbaa
12 changed files with 52 additions and 62 deletions
+3 -3
View File
@@ -21,7 +21,7 @@
int CommandExists(char *name)
{
aCommand *p;
RealCommand *p;
for (p = CommandHash[toupper(*name)]; p; p = p->next)
{
@@ -35,7 +35,7 @@ int CommandExists(char *name)
Command *CommandAddInternal(Module *module, char *cmd, CmdFunc func, AliasCmdFunc aliasfunc, unsigned char params, int flags)
{
Command *command = NULL;
aCommand *c;
RealCommand *c;
if (find_Command_simple(cmd))
{
@@ -102,7 +102,7 @@ Command *AliasAdd(Module *module, char *cmd, AliasCmdFunc aliasfunc, unsigned ch
return CommandAddInternal(module, cmd, NULL, aliasfunc, params, flags);
}
void CommandDelX(Command *command, aCommand *cmd)
void CommandDelX(Command *command, RealCommand *cmd)
{
Cmdoverride *ovr, *ovrnext;