File: comments3.c

package info (click to toggle)
indent 2.2.10-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 4,284 kB
  • ctags: 3,132
  • sloc: ansic: 26,528; sh: 4,608; makefile: 485; yacc: 316; sed: 16; cpp: 5
file content (22 lines) | stat: -rw-r--r-- 501 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
void foo()
{
  if ((
#if 1
	/*
	 * REMOVE THIS after all servers upgraded to 2.10.01 and
	 * Uworld uses a numeric too
	 */
	 (strlen(parv[1]) != 1 && !(acptr = FindClient(parv[1]))))
       || (strlen(parv[1]) == 1 &&
#endif
	 1))
  {
  }
  if ((!IsServer(cptr)) && isNickJuped(nick))
  {
    sendto_one(sptr, err_str(ERR_NICKNAMEINUSE), me.name,
        /* parv[0] is empty when connecting */
	BadPtr(parv[0]) ? "*" : parv[0], nick);
    return 0;                   /* NICK message ignored */
  }
}