hi everyone!
im using unreal3.2.3 with my own bot(written in vb) i dont know C language and i want to edit my unreal..
i dont want unreal gives op the first joiner in the channel... where i can edit this or where i can change?
thanks
(ps:sorry about my poor english)
dont give op the first joiner
When a #chan is created the creator gets the privs . Thats how it works . If you dont want want this happening then you need to stop temp #chans being created . You can do this through services as many have the ability to shut down the registration of channels .
For example in ircservices you have
Set this way you cant register or create a channel at all .
That is one way to stop it .
Another way is create your #chans as you see fit and use this section of your unreal.conf
(read docs for how to implement this)
Drop in your channels and then put your bot in each channel . The bot is thus opped and your problem goes away unless your bot dc's .
Personally I use the first method as I dont see the sense in letting joe bloggs set up #porndvds-r-us on my server . If you want a channel you can come and ask for one and if I think its a decent prospect you get your channel.
Hope this helps or gives you more thought on the problem .
For example in ircservices you have
Code: Select all
# CSEnableRegister [OPTIONAL]
# Allows the REGISTER command to be used. This is usually a good
# thing, but if you don't want your users to be able to register
# channels, remove (or comment out) this directive. Note, however,
# that Services administrators and the Services super-user will
# still be able to use the REGISTER command even if this directive
# is not given.
#CSEnableRegister
# CSRegisteredOnly [OPTIONAL]
# Treats unregistered channels as if they were forbidden,
# disallowing access by ordinary users to any channels not
# explicitly registered with ChanServ. IRC operators will be
# allowed to enter such channels, as they are for ordinary
# forbidden channels. Note that this directive operates
# independently from the CSEnableRegister directive; if
# CSEnableRegister is commented out, non-Services-admin IRC
# operators will be able to join unregistered channels but will
# not be permitted to register them.
CSRegisteredOnly
That is one way to stop it .
Another way is create your #chans as you see fit and use this section of your unreal.conf
Code: Select all
4.26 - Allow Channel Block OPTIONAL
Syntax:
allow channel {
channel "<channel-mask>";
};
The allow channel block allows you to specify specific channels that users may join. The allow::channel directive specifies the wildcard mask of the channels which may be joined.
Example:
allow channel {
channel "#something";
};
Drop in your channels and then put your bot in each channel . The bot is thus opped and your problem goes away unless your bot dc's .
Personally I use the first method as I dont see the sense in letting joe bloggs set up #porndvds-r-us on my server . If you want a channel you can come and ask for one and if I think its a decent prospect you get your channel.
Hope this helps or gives you more thought on the problem .
Yawn. So there's yet another "if the user clicks the button, they're infected" exploit. Why is this news? We already know users are idiots.
thanks for your reply but im not using and kind of services
i have already deny all channels my bot sends a message every user joins the server and wants for login if login is success bot uses "SAJOIN" command to join users...
but if bot goes down official channell is being un-secured.. i must fix this if its possible thanks and regards
i have already deny all channels my bot sends a message every user joins the server and wants for login if login is success bot uses "SAJOIN" command to join users...
but if bot goes down official channell is being un-secured.. i must fix this if its possible thanks and regards
If you really dont want to use services there is a Module by W00t that can help you .
As noted by Syzop on the module page this sort of thing is best handled by services in the long run .
I also have to say that the way you have it setup is a bit strange . Why not just let users join normally as having a bot sajoin them to channels is a bit extreme .
As noted by Syzop on the module page this sort of thing is best handled by services in the long run .
I also have to say that the way you have it setup is a bit strange . Why not just let users join normally as having a bot sajoin them to channels is a bit extreme .
Yawn. So there's yet another "if the user clicks the button, they're infected" exploit. Why is this news? We already know users are idiots.
No problems, hope you enjoy it .
-ChatSpike IRC Network [http://www.chatspike.net]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]
-Denora Stats [http://denora.nomadirc.net]
-Omerta [http://www.barafranca.com]