| View previous topic :: View next topic |
| Author |
Message |
bharvey Voice
Joined: 08 Aug 2010 Posts: 6
|
Posted: Sun Sep 12, 2010 12:54 am Post subject: Permissions/Scripts |
|
|
I dont think this falls into scripting - this is more about configuration.
I have these items in my "myscript.tcl"
bind pub n|n !sql cmd:sql
bind pub o|o !warn cmd:warn
bind pub o|o !unwarn cmd:unwarn
bind pub - !showwarn cmd:showwarn
bind pub - !check cmd:check
It's my understanding that only the owner should be able to do the item bind pub n|n only the ops should be able to do bind pub o|o and the others open to everyone.
However, everyone seems to be able to do any of these.
What have I missed? Is there some config issue somewhere?
Thanks! |
|
| Back to top |
|
 |
thommey Halfop
Joined: 01 Apr 2008 Posts: 73
|
Posted: Sun Sep 12, 2010 10:16 am Post subject: |
|
|
It's not a configuration issue. I can see 2 possibilities for that behaviour
1) You still have the old bind active because you only rehashed when you initially changed the bind to n|n (check .binds !sql in partyline), .restart to fix this.
2) Everyone is recognized as owner with global or channel +n, check .channel #chan in partyline and look at what handle the user who shouldn't ne able to access to got. |
|
| Back to top |
|
 |
bharvey Voice
Joined: 08 Aug 2010 Posts: 6
|
Posted: Sun Sep 12, 2010 4:11 pm Post subject: |
|
|
| thommey wrote: | It's not a configuration issue. I can see 2 possibilities for that behaviour
1) You still have the old bind active because you only rehashed when you initially changed the bind to n|n (check .binds !sql in partyline), .restart to fix this. |
can you explain how I check that please? I'm new to this..
| Quote: |
2) Everyone is recognized as owner with global or channel +n, check .channel #chan in partyline and look at what handle the user who shouldn't ne able to access to got. |
And this.. thanks! |
|
| Back to top |
|
 |
bharvey Voice
Joined: 08 Aug 2010 Posts: 6
|
Posted: Sun Sep 12, 2010 10:10 pm Post subject: |
|
|
| bharvey wrote: | | thommey wrote: | It's not a configuration issue. I can see 2 possibilities for that behaviour
1) You still have the old bind active because you only rehashed when you initially changed the bind to n|n (check .binds !sql in partyline), .restart to fix this. |
can you explain how I check that please? I'm new to this..
| Quote: |
2) Everyone is recognized as owner with global or channel +n, check .channel #chan in partyline and look at what handle the user who shouldn't ne able to access to got. |
And this.. thanks! |
OK - I was able to see in DCC by doing .binds that !sql n|n is set
I'm not seeing where it's telling me what handle the user has in .dcc though. I did the .channel #channel . Under Handle is my name?? Not n, m, o, d or b. |
|
| Back to top |
|
 |
blake Master
Joined: 23 Feb 2009 Posts: 201
|
Posted: Mon Sep 13, 2010 8:26 am Post subject: |
|
|
On the party line do .whois username/handle this will show what flags the users have on your bot _________________ Blake
UKEasyHosting UKStormWatch |
|
| Back to top |
|
 |
bharvey Voice
Joined: 08 Aug 2010 Posts: 6
|
Posted: Mon Sep 13, 2010 9:48 pm Post subject: |
|
|
| blake wrote: | | On the party line do .whois username/handle this will show what flags the users have on your bot |
I did this and only my name shows. |
|
| Back to top |
|
 |
bharvey Voice
Joined: 08 Aug 2010 Posts: 6
|
Posted: Mon Sep 13, 2010 9:56 pm Post subject: |
|
|
| thommey wrote: | It's not a configuration issue. I can see 2 possibilities for that behaviour
1) You still have the old bind active because you only rehashed when you initially changed the bind to n|n (check .binds !sql in partyline), .restart to fix this.
2) Everyone is recognized as owner with global or channel +n, check .channel #chan in partyline and look at what handle the user who shouldn't ne able to access to got. |
Should the handle be the name of a person?
I see nothing that says n=owner or m=master or o=op
If I'm binding n | n and o | o how do I give the OP's the proper access in the user file.
thanks! |
|
| Back to top |
|
 |
blake Master
Joined: 23 Feb 2009 Posts: 201
|
Posted: Tue Sep 14, 2010 5:24 am Post subject: |
|
|
.adduser nickname
Then do .chattr handle +flags
Handle is normaly made up of the first 9 letters of the nickname
Flags being +mno or whatever _________________ Blake
UKEasyHosting UKStormWatch |
|
| Back to top |
|
 |
|