Page 1 of 1

How can I unshun via server communication

Posted: Thu Oct 11, 2012 7:51 am
by Rick
Hi there,

I'm creating a service for our network. But now I want to make that certain users can shun people without being a IRCop or Admin etc.
This works using the code :

Code: Select all

send("BD + s * user_host.provider.tdl SecurityServ endtime currenttime :Muted by $user on date");
So far so good. But I cannot unshun any person using the following code:

Code: Select all

send("BD - s * user_host.provider.tdl SecurityServ endtime :Delete");
What am I doing wrong?

Help is appreciated!

Kind regards,

Rick

Re: How can I unshun via server communication

Posted: Thu Oct 11, 2012 11:41 am
by Jobe
For a start to remove a shun you only need the "-", "s", user part, host part and removed by. You don't need end time or reason.

Secondly the only reason I can see (looking at the source code) that it wouldn't work is if the details you supplied didnt match the shun you wanted to remove.

Re: How can I unshun via server communication

Posted: Thu Oct 11, 2012 11:55 am
by Rick
Thank you! This solved my issue indeed!