Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Suspend message in nick information  (Read 11015 times)

0 Members and 1 Guest are viewing this topic.

rassi

  • Anope User
  • Offline Offline
  • Posts: 24
    • http://eroin.org
Suspend message in nick information
« 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]
Logged

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #1 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.
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

rassi

  • Anope User
  • Offline Offline
  • Posts: 24
    • http://eroin.org
(No subject)
« Reply #2 on: October 07, 2006, 07:09:28 PM »

thanks n00bie
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #3 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.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #4 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
Logged
my God my tourniquet, return to me salvation

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #5 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]
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #6 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
Logged
my God my tourniquet, return to me salvation

Trystan Scott Lee

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 343
(No subject)
« Reply #7 on: October 07, 2006, 09:01:49 PM »

And if they are suspended their last quit message is ignored and the reason remains
Logged
my God my tourniquet, return to me salvation

n00bie

  • Anope User
  • Offline Offline
  • Gender: Male
  • Posts: 411
(No subject)
« Reply #8 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
Logged
I am always doing things that which I cannot do, in order that I may learn how to do it.

rassi

  • Anope User
  • Offline Offline
  • Posts: 24
    • http://eroin.org
(No subject)
« Reply #9 on: October 08, 2006, 08:33:51 PM »

great :)
Logged

ice

  • Guest
(No subject)
« Reply #10 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.
Logged

SNU

  • Anope User
  • Offline Offline
  • Posts: 158
    • http://www.firstclassirc.com
(No subject)
« Reply #11 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?
Logged

Jobe

  • Contributor
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1023
    • Anope IRC Services
(No subject)
« Reply #12 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.
Logged
Your IP: ()
My IRC Status:

Come along and visit http://www.anopequotes.org/
Pages: [1]   Go Up