How can I unshun via server communication

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
Rick
Posts: 5
Joined: Wed Aug 08, 2012 3:14 pm

How can I unshun via server communication

Post 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
Global IRC - [url=irc://irc.globalirc.net]irc.globalirc.net[/url] - Dutch Network
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Re: How can I unshun via server communication

Post 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.
Your IP: Image
Your Country: Image
Rick
Posts: 5
Joined: Wed Aug 08, 2012 3:14 pm

Re: How can I unshun via server communication

Post by Rick »

Thank you! This solved my issue indeed!
Global IRC - [url=irc://irc.globalirc.net]irc.globalirc.net[/url] - Dutch Network
Locked