Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: hs_list extension  (Read 3138 times)

0 Members and 1 Guest are viewing this topic.

Sheepy

  • Guest
hs_list extension
« on: June 26, 2007, 04:05:44 AM »

When trying to search through the list of vHosts, the /hs list command only returns results based on the nickname the vHost is assigned too.

Is there a way, hopefully using wildcards, to search the the actual vHosts, not the usernames. I'm not sure if I missed something, it doesn't have this functionality or there is a module out there somewhere someone can point me toward.

Alternately a module that would prevent duplicate vHosts would be adequate.

Thanks in advance,
Shp.
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #1 on: June 26, 2007, 12:18:36 PM »

/hs list <mask> does match on vhosts as the following demonstrates:

Quote
>HostServ< list one*
-HostServ- #2 Nick:BluE, vhost:One.And.Only (Jobe - Jun 17 13:21:40 2007 BST)
-HostServ- #6 Nick:Gavin, vhost:One.And.Only (Jobe - Jun 17 13:21:40 2007 BST)
-HostServ- Displayed records matching key one* (Count: 2)


And as you can see by the # numbers there are more then 2 vHosts assigned on my server.

Quote
-HostServ- Syntax: LIST [<key>|<#X-Y>]
-HostServ- This command lists registered vhosts to the operator
-HostServ- if a Key is specified, only entries whos nick or vhost match
-HostServ- the pattern given in <key> are displayed e.g. Rob* for all
-HostServ- entries beginning with "Rob"
-HostServ- If a #X-Y style is used, only entries between the range of X
-HostServ- and Y will be displayed, e.g. #1-3 will display the first 3
-HostServ- nick/vhost entries.
-HostServ- The list uses the value of NSListMax as a hard limit for the
-HostServ- number of items to display to a operator at any 1 time.
-HostServ- Limited to Services operators.

[Edited on 26-6-2007 by Jobe1986]
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/
Pages: [1]   Go Up