View Issue Details

IDProjectCategoryView StatusLast Update
0004432unrealmodule apipublic2015-10-28 17:20
Reporterblank Assigned Tosyzop  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0004432: Some SVS commands return 'is a server only command' but others don't
DescriptionWhen users try SVS commands some return 'is a server only command' but others don't

Shouldn't they all return it?

For example SVSNICK does but SVSKILL doesn't
3rd party modules

Activities

syzop

2015-10-26 09:22

administrator   ~0018786

A few months I looked at all commands, including the SVS* commands, and added the in my view "correct" command flags.
Later on I had to "fix" things. For example SVSKILL makes no sense to send from a user as the user is never used, it should only be sent by servers. However, anope sends it from nickserv (:NickServ SVSKILL .... rather than :server.name SVSKILL or just SVSKILL)... so I changed it back to allow it from users.

The IsULine() restriction is (or should be) still in place though so regular users can't use these commands.

blank

2015-10-26 10:00

reporter   ~0018787

@syzop I mean shouldn't all SVS commands send this 'is a server only command' (I understand it doesn't actually run the command), I just mean the message. It seems some send the notice and some just ignore it.

syzop

2015-10-26 10:37

administrator   ~0018789

It only sends "is a server only command" if it is a server only command :)
I tried to explain that some SVS* commands are permitted to be sent from a user. Hence, you don't get a "is a server only command" error.

"user" here means for example NickServ on a ULined server.

blank

2015-10-26 14:16

reporter   ~0018796

@syzop oops, I misunderstood. Sorry.

syzop

2015-10-28 17:20

administrator   ~0018809

Sure, no problem :)

Issue History

Date Modified Username Field Change
2015-10-21 15:33 blank New Issue
2015-10-26 09:22 syzop Note Added: 0018786
2015-10-26 10:00 blank Note Added: 0018787
2015-10-26 10:37 syzop Note Added: 0018789
2015-10-26 14:16 blank Note Added: 0018796
2015-10-28 17:20 syzop Note Added: 0018809
2015-10-28 17:20 syzop Status new => closed
2015-10-28 17:20 syzop Assigned To => syzop
2015-10-28 17:20 syzop Resolution open => no change required
2017-01-06 15:48 syzop Category module => module api