~ubuntu-branches/ubuntu/oneiric/inspircd/oneiric-security

« back to all changes in this revision

Viewing changes to src/modules/m_userip.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2008-11-15 20:39:50 UTC
  • mfrom: (1.1.4 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081115203950-uv1pf98x2vkon7se
Tags: 1.1.21+dfsg-1ubuntu1
* Merge from debian unstable, remaining changes: (LP: #298418)
  - debian/patches/04_include-limits-h.dpatch:
    + Explicitly include limits.h for gcc 4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
                        userrec *u = ServerInstance->FindNick(parameters[i]);
39
39
                        if ((u) && (u->registered == REG_ALL))
40
40
                        {
41
 
                                retbuf = retbuf + u->nick + (IS_OPER(u) ? "*" : "") + "=+" + u->ident + "@" + u->GetIPString() + " ";
 
41
                                retbuf = retbuf + u->nick + (IS_OPER(u) ? "*" : "") + "=";
 
42
                                if (IS_AWAY(u))
 
43
                                        retbuf += "-";
 
44
                                else
 
45
                                        retbuf += "+";
 
46
                                retbuf += std::string(u->ident) + "@" + u->GetIPString() + " ";
42
47
                        }
43
48
                }
44
49