Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: modload hs_nethost - cant get it to work :-( [resolved]  (Read 3570 times)

0 Members and 1 Guest are viewing this topic.

Dan

  • Anope User
  • Offline Offline
  • Posts: 1
modload hs_nethost - cant get it to work :-( [resolved]
« on: January 10, 2010, 02:46:21 PM »

hi folks,

I've read through the readme file of the modules docs, when i load the test module hs_moo it loads fine.. but when i try to load hs_nethost it doesnt!

I've ftp'd it to the correct folder;
/anope-1.8.0/src/modules

i've

make modules
make install

it makes the .o .s .so files

I add this to the services.conf

Code: [Select]
# MergeHosts [REQUIRED by hs_nethost]
# Module: hs_nethost
#
# This option determines what will happen when a user groups a new nick
# to an already existing nickgroup. This can be helpful in preventing
# the use of hs_nethost for ban evasion.
#
# Following options are available:
#    1 - Nothing. No host will be assigned to the new nick.
#    2 - Old vhost. The new nick will be given a host taken from another
#        nick in the same group. If none is found a new NetworkHost will be
#        created for the nick, if it is is enabled.
#    3 - Old NetworkHost. The new nick will be given a host taken from another
#        nick in the same group, provided it matches the NetworkHost design.
#        If none is found a new NetworkHost will be created for the nick.
#    4 - Nick gets a new NetworkHost if option is enabled.

MergeHosts 3


# NetworkHost [OPTIONAL for hs_nethost]
# Module: hs_nethost
#
# When set this vHost (and vIdent) will automatically be set for users
# when they register a new nick with NickServ.
# Note that no ident must be given.
#
# Some variables may be used for further customization:
# "$nick$" will be replaced by the nickname that was just registered and
# can be used multiple times in both the ident and host portion.
# $network$ will be replaced by the configured NetworkName.
# $rand$ will be replaced by a random number from 1-5000.
#
# Note that only letters and numbers are allowed to be used in the NetworkHost.
#
# Some examples are:
#NetworkHost "$nick$@users.network.net"
#NetworkHost "$nick$.users.network.net"
#NetworkHost "$nick$@$nick$.users.network.net"
#NetworkHost "$nick$.users.$network$"
#NetworkHost "$nick$@$nick$.users.$network$"

NetworkHost "$nick$@$rand$.users.$network$"

then i reload the config file & then try to load the module

/operserv reload
/operserv modload hs_nethost
it shows
[14:45] -OperServ- Services' configuration file has been reloaded.
[14:45] -OperServ- Unable to load module hs_nethost

I've also tried adding it to the ModuleDelayedAutoload part, but still no luck..

what am i doing wrong?

Many thanks

resolved thanks anyway!!
« Last Edit: January 10, 2010, 03:06:57 PM by Dan »
Logged
Pages: [1]   Go Up