View Issue Details

IDProjectCategoryView StatusLast Update
0001599unrealircdpublic2004-06-23 15:49
Reporterolene Assigned Tocodemastr 
PrioritynormalSeveritytextReproducibilityalways
Status resolvedResolutionfixed 
Product Version3.2 
Summary0001599: Numerics (Was: NOTICEs that shouldn't be notices)
DescriptionSts told me to post here so he didn't have to remember. Here is a list of notices that should be numerics. (To be honest, before i started using unreal servers, server notices were a very rare and weird thing for me to see after the connection notices).

*** Auditorium mode (+u) can only be set by the channel owner. [should be ERR_NOTCHANNELOWNER]

*** Opers Only mode (+O) can only be set by IRC Operators.
*** Admins Only mode (+A) can only be set by Administrators.
[should be 481 ERR_NOPRIVILEGES]

*** Registered mode (+r) can only be set by Services.
[probably ERR_ONLYSERVSCANSET or equiv]

*** No Knocks mode (+K) can only be set when the channel is invite only (+i)
[create new numeric]

*** Secure Mode (+z) can only be set when all members of the channel are connected via SSL.
[create new numeric]

*** Channel admins (+a) can only be set by the channel owner
[ERR_NOTCHANNELOWNER]

*** You cannot %s %s in %s, (s)he is the channel owner (+q)
*** You cannot %s %s in %s, (s)he is a channel admin (+a)
[ERR_NOTCHANNELOWNER or "908 :No permissions to perform command"]

*** Channel Linking (+L) can only be set by the channel
owner.
[ERR_NOTCHANNELOWNER]

*** A Channel Limit (+l <max>) is required for +L to be set.
[new numeric]

*** Only one channel may be specified for linking.
*** %s cannot be linked to itself.
[new numeric]

Additional InformationThese are just a few. I don't think I need to tell you guys that creating new unspec numerics WILL NOT break clients, as the worst any mainstream client will do is just display it in the status window (mirc) or enclose it in "?"s (ircle) or prepend "Unknown:" (others).

Besides. IRCd writers shape the protocol. Not the client writers.

Besides, remember: "The IRC is solid. The IRC is floating, and will always be dynamic. Live with that or /quit."
--Olsen 17:3
TagsNo tags attached.
3rd party modules

Activities

Zell

2004-02-27 17:25

reporter   ~0005237

lol i've already modified my win32 to do snotices for a few of those (like the cant set +A) and it works fine... lemme kno if u want examples of the code, etc

syzop

2004-02-27 22:23

administrator   ~0005241

[-> olene]
Just a quick reply on this: yes you are probably right (well, at least on some of them I agree on first sight, others not)... however it won't be done in the next few months because we are a release candicate atm and I really don't want to mess with this then... Some time after 3.2 final we/I will probably have a look at this :).

TimeFX

2004-03-08 16:32

reporter   ~0005371

*adding to the list*

-
notice: *** You cannot kick people on %s
raw: 484 %s %s :Cannot kick protected user %s.
(chanmode Q, I receive both of them)
-

;)

aquanight

2004-03-15 13:29

reporter   ~0005501

Another big one: /botmotd
Sent with notices... how about RPL_MOTDSTART, RPL_MOTD, and RPL_ENDMOTD, since you already use those for the normal, short, and operator MOTD.

syzop

2004-04-13 16:18

administrator   ~0005849

*merge 0001728*, quoting:
"When someone (non owner) to a channel try to use mode +q on this channel the answer is this: #channel Only servers can change that mode"[..]

codemastr

2004-06-21 15:29

reporter   ~0006746

Working on this now...

Done:
*** Auditorium mode (+u) can only be set by the channel owner.
*** Opers Only mode (+O) can only be set by IRC Operators.
*** Admins Only mode (+A) can only be set by Administrators.
*** Registered mode (+r) can only be set by Services.
*** Channel admins (+a) can only be set by the channel owner
*** Channel Linking (+L) can only be set by the channel
owner.

Still working on others.

About /botmotd. That intentionally uses notices. The reason is, eggdrops hide numerics from the console. We want the botmotd to be seen. So if the admin is logged into the partyline when the bot sets +B, we want him to see the motd. Having it as a notice forces the eggdrop to display it.

codemastr

2004-06-23 15:49

reporter   ~0006772

Done in .68

Issue History

Date Modified Username Field Change
2004-02-27 17:04 olene New Issue
2004-02-27 17:20 syzop ETA none => > 1 month
2004-02-27 17:25 Zell Note Added: 0005237
2004-02-27 22:23 syzop Note Added: 0005241
2004-03-08 16:32 TimeFX Note Added: 0005371
2004-03-15 13:29 aquanight Note Added: 0005501
2004-04-13 16:18 syzop Note Added: 0005849
2004-06-11 21:37 syzop Status new => acknowledged
2004-06-11 21:37 syzop ETA > 1 month => none
2004-06-11 21:37 syzop Product Version => 3.2
2004-06-11 21:37 syzop Summary NOTICEs that shouldn't be notices => Numerics (Was: NOTICEs that shouldn't be notices)
2004-06-18 13:02 codemastr Status acknowledged => assigned
2004-06-18 13:02 codemastr Assigned To => codemastr
2004-06-21 15:29 codemastr Note Added: 0006746
2004-06-23 15:49 codemastr Status assigned => resolved
2004-06-23 15:49 codemastr Resolution open => fixed
2004-06-23 15:49 codemastr Note Added: 0006772