mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-05 22:53:12 +02:00
Index: Changes
=================================================================== RCS file: /home/cmunk/ircsystems/cvsroot/unreal/Changes,v retrieving revision 1.1.1.1.2.1.2.1.2.171 diff -u -r1.1.1.1.2.1.2.1.2.171 Changes --- Changes 2000/08/06 08:25:18 1.1.1.1.2.1.2.1.2.171 +++ Changes 2000/08/06 13:01:54 @@ -518,3 +518,5 @@ - Updated ./ircd to also say to look at ircd.log - Fixed a SQLINE synch bug - Added command line option -F to prevent the ircd to fork out +- Fixed the f*cken TKL bug +- Fixed a netsplit bug
This commit is contained in:
@@ -518,3 +518,5 @@
|
||||
- Updated ./ircd to also say to look at ircd.log
|
||||
- Fixed a SQLINE synch bug
|
||||
- Added command line option -F to prevent the ircd to fork out
|
||||
- Fixed the f*cken TKL bug
|
||||
- Fixed a netsplit bug
|
||||
|
||||
+6
-7
@@ -255,7 +255,7 @@ int find_tkline_match(cptr, xx)
|
||||
|
||||
nowtime = TStime();
|
||||
chost = cptr->sockhost;
|
||||
cname = cptr->user->username;
|
||||
cname = (xx != 2) ? cptr->user->username : NULL;
|
||||
|
||||
cip = (char *)inet_ntoa(cptr->ip);
|
||||
|
||||
@@ -267,13 +267,12 @@ int find_tkline_match(cptr, xx)
|
||||
else
|
||||
is_ip = 0;
|
||||
|
||||
if (is_ip == 0 ? (!match(lp->hostmask, chost)
|
||||
&& !match(lp->usermask, cname)) : (!match(lp->hostmask,
|
||||
chost) || !match(lp->hostmask, cip))
|
||||
&& !match(lp->usermask, cname) && (xx != 2 || !match(lp->usermask, cname)))
|
||||
if (xx != 2 ? is_ip == 0 ? (!match(lp->hostmask, chost)
|
||||
&& !match(lp->usermask, cname)) :
|
||||
(!match(lp->hostmask, chost) || !match(lp->hostmask, cip))
|
||||
: !match(lp->hostmask, chost))
|
||||
{
|
||||
|
||||
if ((lp->type & (TKL_KILL)) && (xx != 2))
|
||||
if (lp->type & TKL_KILL)
|
||||
{
|
||||
if (lp->type & TKL_GLOBAL)
|
||||
{
|
||||
|
||||
+1
-1
@@ -521,7 +521,7 @@ int exit_client(cptr, sptr, from, comment)
|
||||
*/
|
||||
if (cptr && !recurse)
|
||||
{
|
||||
(void)strcat(comment1, sptr->srvptr->name);
|
||||
(void)strcpy(comment1, sptr->srvptr->name);
|
||||
(void)strcat(comment1, " ");
|
||||
(void)strcat(comment1, sptr->name);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user