[task #12777] Configurable default kick reason

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[task #12777] Configurable default kick reason

Eric L.-2
URL:
  <http://savannah.nongnu.org/task/?12777>

                 Summary: Configurable default kick reason
                 Project: WeeChat
            Submitted by: None
            Submitted on: Thu 22 Aug 2013 09:50:01 AM UTC
                Category: None
         Should Start On: Thu 22 Aug 2013 12:00:00 AM UTC
   Should be Finished on: Thu 22 Aug 2013 12:00:00 AM UTC
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: nyuszika7h
        Originator Email: [hidden email]
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: nyuszika7h

    _______________________________________________________

Details:

I'd like to see a config option for specifying a default kick reason if not
explicitly specified in a /kick command. This should be easy to implement,
since we already have that for /part and /quit. If no default reason is
specified and no explicit reason either, WeeChat should probably use the
current behavior. (I think that's sending no kick reason to the server, but I
might be wrong.)





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12777>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #12777] Configurable default kick reason

Eric L.-2
Update of task #12777 (project weechat):

                Category:                    None => irc plugin            
                  Status:                    None => Ready For Test        
        Percent Complete:                      0% => 100%                  
             Assigned to:                    None => nils_2                
         Planned Release:                    None => 0.4.3                  

    _______________________________________________________

Follow-up Comment #1:

new options added (default value ""):
irc.server.<servername>.default_msg_kick
irc.server_default.default_msg_kick

special variables "$nick" and "$channel" can be used in options
and with commands "/kick" and "/kickban".

Examples:
/kick nyuszika7h $nick was kicked from $channel

/set irc.server_default.default_msg_kick "$nick was kicked from $channel"


(file #29214)
    _______________________________________________________

Additional Item Attachment:

File name: configurable_default_kick_reason.patch Size:8 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12777>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #12777] Configurable default kick reason

Eric L.-2
Follow-up Comment #2, task #12777 (project weechat):

Update. I forget to mention the special variable $server in help text.

Examples:
/kick nyuszika7h $nick was kicked by nils_2 from channel $channel

/set irc.server_default.default_msg_kick "$nick was kicked from $channel on
$server"

(file #29284)
    _______________________________________________________

Additional Item Attachment:

File name: configurable_default_kick_reason.patch Size:8 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12777>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #12777] Configurable default kick reason

Eric L.-2
Update of task #12777 (project weechat):

                  Status:          Ready For Test => Done                  


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?12777>

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev