Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabberrc.example @ 1353:7caedca15e50
Add post-connect internal hook
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Sat, 10 Nov 2007 23:06:28 +0100 |
parents | 26d1dd2c948f |
children | c373ff3fe7e1 |
line wrap: on
line diff
--- a/mcabber/mcabberrc.example Sat Nov 10 22:29:31 2007 +0100 +++ b/mcabber/mcabberrc.example Sat Nov 10 23:06:28 2007 +0100 @@ -199,6 +199,14 @@ # exit value is 2. #set eventcmd_checkstatus = 0 +# Internal hooks +# You can ask mcabber to execute an internal command when a special event +# occurs (for example when it connects to the server). +# +# 'hook-post-connect' is executed when mcabber has connected to the server +# and the roster has been received. +#set hook-post-connect = status dnd + # Traces logging # If you want advanced traces, please specify a file and a level here. # There are currently 2 traceloglog levels: