Anope IRC Services

Anope Development => Feature Requests => Topic started by: rassi on October 07, 2006, 10:25:11 AM

Title: Suspend message in nick information
Post by: rassi on October 07, 2006, 10:25:11 AM
When I suspend a one nick and I look at the suspend nick infos I cant see the suspend reason (I look anormal user), and when I see a admin nick I seen the suspend reason.

"This nickname is currently suspended, reason: out" admin see the this messages when saw the nick information but anormal user cant see

the main problem is why the suspend message didnt saw the anormal user who look at the nick information ?
and why the suspend message REASON didnt show it when the user to get a suspend nick only said this message "Nick eschat is currently suspended."

Maybe in 1.8.0 this is available

[Edited on 7-10-2006 by rassi]
Title:
Post by: n00bie on October 07, 2006, 11:02:41 AM
Yes, this feature will be nice/usefull when a normal user looked up a Suspended nickname the info will include that the nick is currently suspended and why. And also when trying to use a suspended nickname, it will also show the reason why the nick is suspended.
Title:
Post by: rassi on October 07, 2006, 07:09:28 PM
thanks n00bie
Title:
Post by: Jobe on October 07, 2006, 07:34:33 PM
I must admit i wouldnt mind seeing this as a feature. Maybe with an option to turn it off globally and also maybe per nick too.
Title:
Post by: Trystan Scott Lee on October 07, 2006, 08:12:38 PM
Code is already there to show the reason on /ns info


Code: [Select]
         
            if (na->nc->flags & NI_SUSPENDED) {
                if (na->last_quit) {
                    notice_lang(s_NickServ, u, NICK_INFO_SUSPENDED,
                                na->last_quit);
                } else {
                    notice_lang(s_NickServ, u,
                                NICK_INFO_SUSPENDED_NO_REASON);
                }
            }


As long as the struct still holds the reason it will display it
Title:
Post by: Jobe on October 07, 2006, 08:31:00 PM
It doesnt actually say the nick is suspended though does it? Unless you put in the reason that its suspended. In addition to that the Last Quit message remains as the suspend reason after the nick has been unsuspended until the nick next quits. So that cant exactly be relied on to say the nick is suspended.

[Edited on 7-10-2006 by Jobe1986]
Title:
Post by: Trystan Scott Lee on October 07, 2006, 09:00:08 PM
NICK_INFO_SUSPENDED
   This nickname is currently suspended, reason: %s
NICK_INFO_SUSPENDED_NO_REASON
   This nickname is currently suspended
Title:
Post by: Trystan Scott Lee on October 07, 2006, 09:01:49 PM
And if they are suspended their last quit message is ignored and the reason remains
Title:
Post by: n00bie on October 07, 2006, 10:12:23 PM
what we meant here is that, if a normal user looked up a suspended nickname using /ns info ... the reason why that nick is suspended is not shown. And also, when trying to use a suspended nickname, it only say that -NickServ- Nick SomeNick is currently suspended only and not the reasons. So, It would be nice if the reason why that nick is suspended is shown both on the /ns info and when trying to use a suspended nickname. I personally never suspend a nickname on our small network tho :p

anope-1.7.15
Title:
Post by: rassi on October 08, 2006, 08:33:51 PM
great :)
Title:
Post by: ice on August 13, 2007, 09:29:10 AM
It's very nice if the reason why that nick is suspended is shown both on the /nickserv info and when trying to use a suspended nickname.
Title:
Post by: SNU on August 13, 2007, 01:35:11 PM
May I ask here what might be reasons to suspend a nick? Until now I did not feel the need to suspend a nick. May someone tell me?
Title:
Post by: Jobe on August 13, 2007, 03:43:49 PM
Suspending a Nick is the same as Forbid but only works on nicks already registered and preserves their NickServ settings, where as forbid, drops the nick then forbids it.