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

Fixed /Shun and /Gline Conflict .... (= != ==)

This commit is contained in:
drbin
2000-06-15 20:01:09 +00:00
parent c3dcf78497
commit a1e3d57d9e
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -356,3 +356,4 @@
- /quote close do not show realhost of caller anymore
- /shun accepts nick in add mode now (adds *@host)
- Allowed /shunned users to use /pong now
- Fixed (by DrBin) Shun and Gline bug, where they replaced eachothers ->type .... Learn that = != ==
+2 -2
View File
@@ -796,7 +796,7 @@ int m_gline(aClient *cptr, aClient *sptr, int parc, char *parv[])
for (tk = tklines; tk; tk = tk->next)
{
if (tk->type = (TKL_GLOBAL | TKL_KILL))
if (tk->type == (TKL_GLOBAL | TKL_KILL))
{
if (!match(tk->hostmask, usermask)
&& !match(tk->usermask, hostmask))
@@ -993,7 +993,7 @@ int m_shun(aClient *cptr, aClient *sptr, int parc, char *parv[])
for (tk = tklines; tk; tk = tk->next)
{
if (tk->type = (TKL_GLOBAL | TKL_SHUN))
if (tk->type == (TKL_GLOBAL | TKL_SHUN))
{
if (!match(tk->hostmask, usermask)
&& !match(tk->usermask, hostmask))