Update of /cvsroot/solidircd/solidircd-stable/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15249/src
Modified Files:
s_user.c
Log Message:
clean up & fixes.
Index: s_user.c
===================================================================
RCS file: /cvsroot/solidircd/solidircd-stable/src/s_user.c,v
retrieving revision 1.19
retrieving revision 1.20
diff -C2 -d -r1.19 -r1.20
*** s_user.c 2 Jan 2006 20:26:22 -0000 1.19
--- s_user.c 12 Mar 2006 05:30:52 -0000 1.20
***************
*** 2377,2380 ****
--- 2377,2381 ----
user->server = find_or_add(server);
strncpyzt(user->host, host, sizeof(user->host));
+ strncpyzt(user->realhost, host, sizeof(user->host));
}
else
***************
*** 2408,2411 ****
--- 2409,2413 ----
#endif
strncpyzt(user->host, host, sizeof(user->host));
+ strncpyzt(user->realhost, host, sizeof(user->host));
user->server = me.name;
}
***************
*** 2469,2500 ****
/*
- * m_quit
- * parv[0] = sender prefix
- * parv[1] = comment
- */
-
- /*
- int
- m_quit(aClient *cptr, aClient *sptr, int parc, char *parv[])
- {
- char *reason = (parc > 1 && parv[1]) ? parv[1] : cptr->name;
- char comment[TOPICLEN + 1];
-
- sptr->flags |= FLAGS_NORMALEX;
- if (!IsServer(cptr))
- {
- strcpy(comment, "Quit: ");
- strncpy(comment + 6, reason, TOPICLEN - 6);
- comment[TOPICLEN] = 0;
- return exit_client(cptr, sptr, sptr, comment);
- }
- else
- return exit_client(cptr, sptr, sptr, reason);
- }
-
- */
-
-
- /*
* m_kill
* parv[0] = sender prefix
--- 2471,2474 ----
***************
*** 3489,3503 ****
me.name, sptr->name);
}
! /*
! if ((setflags & UMODE_W) && !IsUmodeW(sptr) && IsOper(sptr) && !IsServer(cptr))
! {
! sptr->umode &= ~UMODE_W;
!
! }
! if (!(setflags & UMODE_W) && IsUmodeW(sptr) && IsOper(sptr) && !IsServer(cptr))
! {
! sptr->umode |= UMODE_W;
! }
! */
#ifdef HAVE_SSL
--- 3463,3467 ----
me.name, sptr->name);
}
!
#ifdef HAVE_SSL
|