1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-28 08:16:38 +02:00

Lots of changes again. Most notable: Cmdoverride -> CommandOverride,

including things like CallCmdoverride() to CallCommandOverride().
Type changes like aTKline -> TKL and many more (in particular
aSomething to Something etc. such as aWatch to Watch) but these are
less used by 3rd party module coders.
This commit is contained in:
Bram Matthys
2019-09-11 10:18:09 +02:00
parent f55682cbaa
commit 2a5ea10453
33 changed files with 304 additions and 306 deletions
+2 -2
View File
@@ -104,7 +104,7 @@ Command *AliasAdd(Module *module, char *cmd, AliasCmdFunc aliasfunc, unsigned ch
void CommandDelX(Command *command, RealCommand *cmd)
{
Cmdoverride *ovr, *ovrnext;
CommandOverride *ovr, *ovrnext;
DelListItem(cmd, CommandHash[toupper(*cmd->cmd)]);
if (command && cmd->owner)
@@ -123,7 +123,7 @@ void CommandDelX(Command *command, RealCommand *cmd)
for (ovr = cmd->overriders; ovr; ovr = ovrnext)
{
ovrnext = ovr->next;
CmdoverrideDel(ovr);
CommandOverrideDel(ovr);
}
MyFree(cmd->cmd);
MyFree(cmd);