1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-04 23:03:11 +02:00
This commit is contained in:
griever
2002-01-20 00:01:36 +00:00
parent 863e32a3d9
commit c78c669fdd
2 changed files with 7 additions and 6 deletions
+1
View File
@@ -1116,3 +1116,4 @@ v- Fixed some bugreport stuff
- Recoded the module system somewhat, events are now 'stable' meaning if a module doesn't unload an
event the IRCd will not crash. Also fixed a crash involving delayed unloads and cleaned up notices
- Problem with sendto_ops and !aClient->user fix
- Fixed bug in m_tkl_line and various m_line functions (was checking for wrong # of paras)
+6 -6
View File
@@ -140,7 +140,7 @@ DLLFUNC int m_gline(aClient *cptr, aClient *sptr, int parc, char *parv[])
return 0;
}
if (parc < 4)
if (parc < 2)
{
sendto_one(sptr, err_str(ERR_NEEDMOREPARAMS), me.name,
sptr->name, "GLINE");
@@ -169,7 +169,7 @@ DLLFUNC int m_gzline(aClient *cptr, aClient *sptr, int parc, char *parv[])
return 0;
}
if (parc < 4)
if (parc < 2)
{
sendto_one(sptr, err_str(ERR_NEEDMOREPARAMS), me.name,
sptr->name, "GZLINE");
@@ -198,7 +198,7 @@ DLLFUNC int m_shun(aClient *cptr, aClient *sptr, int parc, char *parv[])
return 0;
}
if (parc < 4)
if (parc < 2)
{
sendto_one(sptr, err_str(ERR_NEEDMOREPARAMS), me.name,
sptr->name, "GLINE");
@@ -227,7 +227,7 @@ DLLFUNC int m_tkline(aClient *cptr, aClient *sptr, int parc, char *parv[])
return 0;
}
if (parc < 4)
if (parc < 2)
{
sendto_one(sptr, err_str(ERR_NEEDMOREPARAMS), me.name,
sptr->name, "TKLINE");
@@ -256,7 +256,7 @@ DLLFUNC int m_tzline(aClient *cptr, aClient *sptr, int parc, char *parv[])
return 0;
}
if (parc < 4)
if (parc < 2)
{
sendto_one(sptr, err_str(ERR_NEEDMOREPARAMS), me.name,
sptr->name, "TZLINE");
@@ -306,7 +306,7 @@ DLLFUNC int m_tkl_line(aClient *cptr, aClient *sptr, int parc, char *parv[], ch
return 0;
}
if (parc < 4)
if (parc < 2)
{
return 0;
}