diff options
Diffstat (limited to 'src/cmd_gline.cpp')
-rw-r--r-- | src/cmd_gline.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cmd_gline.cpp b/src/cmd_gline.cpp index 35cf82d88..f3d8ee170 100644 --- a/src/cmd_gline.cpp +++ b/src/cmd_gline.cpp @@ -52,7 +52,7 @@ void cmd_gline::Handle (char **parameters, int pcnt, userrec *user) if (host_matches_everyone(parameters[0],user)) return; add_gline(duration(parameters[1]),user->nick,parameters[2],parameters[0]); - FOREACH_MOD OnAddGLine(duration(parameters[1]), user, parameters[2], parameters[0]); + FOREACH_MOD(I_OnAddGLine,OnAddGLine(duration(parameters[1]), user, parameters[2], parameters[0])); if (!duration(parameters[1])) { WriteOpers("*** %s added permenant G-line for %s.",user->nick,parameters[0]); @@ -67,7 +67,7 @@ void cmd_gline::Handle (char **parameters, int pcnt, userrec *user) { if (del_gline(parameters[0])) { - FOREACH_MOD OnDelGLine(user, parameters[0]); + FOREACH_MOD(I_OnDelGLine,OnDelGLine(user, parameters[0])); WriteOpers("*** %s Removed G-line on %s.",user->nick,parameters[0]); } else |