mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-04 23:03:11 +02:00
wtf..
This commit is contained in:
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user