]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_stats.cpp
Add the ability to have multiple SSL profiles
[user/henk/code/inspircd.git] / src / commands / cmd_stats.cpp
index 846af57db30741b9c24ef0c1d0385f81b0d8944d..411e9d5e1aaa01a7213c2ece98e600e407193b67 100644 (file)
@@ -149,22 +149,13 @@ void CommandStats::DoStats(char statschar, User* user, string_list &results)
                }
                break;
 
-               case 'U':
-               {
-                       for(std::map<irc::string, bool>::iterator i = ServerInstance->Config->ulines.begin(); i != ServerInstance->Config->ulines.end(); ++i)
-                       {
-                               results.push_back(sn+" 248 "+user->nick+" U "+std::string(i->first.c_str()));
-                       }
-               }
-               break;
-
                case 'P':
                {
                        unsigned int idx = 0;
                        for (std::list<User*>::const_iterator i = ServerInstance->Users->all_opers.begin(); i != ServerInstance->Users->all_opers.end(); ++i)
                        {
                                User* oper = *i;
-                               if (!ServerInstance->ULine(oper->server))
+                               if (!oper->server->IsULine())
                                {
                                        LocalUser* lu = IS_LOCAL(oper);
                                        results.push_back(sn+" 249 " + user->nick + " :" + oper->nick + " (" + oper->ident + "@" + oper->dhost + ") Idle: " +