Commit 27799f2f authored by Romain Bignon's avatar Romain Bignon

updated default config file

parent 2aac599a
...@@ -38,6 +38,18 @@ irc { ...@@ -38,6 +38,18 @@ irc {
# Ping interval in seconds. # Ping interval in seconds.
ping = 60 ping = 60
# When a user /WHOIS a buddy, if libcaca is present, the buddy's icon
# is displayed in colored ASCII.
# You can also setup a web server or whatever you want, and put here
# the base of url shown in /WHOIS reply.
#
# You can for example create a virtual host on Apache, and redirect it
# to the folder which contains minbif's users.
# Warning: do not forgot to deny access to everything else than .png files!
#
# url = http://mydomain.tld/minbif/
# url = file:///var/lib/minbif/users/
} }
file_transfers { file_transfers {
......
...@@ -156,7 +156,7 @@ void Purple::inited() ...@@ -156,7 +156,7 @@ void Purple::inited()
Media::init(); Media::init();
irc::IRC* irc = getIM()->getIRC(); irc::IRC* irc = getIM()->getIRC();
irc::BuddyIcon* bi = new irc::BuddyIcon(getIM(), irc, "buddyicon", "buddyicon", irc->getServerName()); irc::BuddyIcon* bi = new irc::BuddyIcon(getIM(), irc);
irc->addNick(bi); irc->addNick(bi);
} }
......
...@@ -194,7 +194,7 @@ void Request::init() ...@@ -194,7 +194,7 @@ void Request::init()
purple_notify_set_ui_ops(&notify_ops); purple_notify_set_ui_ops(&notify_ops);
irc::IRC* irc = Purple::getIM()->getIRC(); irc::IRC* irc = Purple::getIM()->getIRC();
nick = new RequestNick(irc, "request", "request", irc->getServerName()); nick = new RequestNick(irc, "request", "request", irc->getServerName(), "I ask you questions");
irc->addNick(nick); irc->addNick(nick);
} }
......
...@@ -29,8 +29,8 @@ ...@@ -29,8 +29,8 @@
namespace irc { namespace irc {
BuddyIcon::BuddyIcon(im::IM* _im, Server* server, string nickname, string username, string realname) BuddyIcon::BuddyIcon(im::IM* _im, Server* server)
: Nick(server, nickname, username, realname), : Nick(server, "buddyicon", "buddyicon", server->getName(), "DCC Send me a .png to set your icon"),
im(_im) im(_im)
{ {
} }
......
...@@ -41,7 +41,7 @@ namespace irc ...@@ -41,7 +41,7 @@ namespace irc
* @param server up-server * @param server up-server
* @param buddy IM buddy object. * @param buddy IM buddy object.
*/ */
BuddyIcon(im::IM* im, Server* server, string nickname, string username, string realname); BuddyIcon(im::IM* im, Server* server);
~BuddyIcon(); ~BuddyIcon();
/** Implementation of the message routing to this buddy */ /** Implementation of the message routing to this buddy */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment