changeset 1008:1b99caffcd98

[gaim-migrate @ 1018] *burp* I have an upset tummy. committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Thu, 19 Oct 2000 22:34:22 +0000
parents 3fd7b1e320d1
children d496fe2614a6
files ChangeLog plugins/irc.c
diffstat 2 files changed, 21 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 19 10:44:59 2000 +0000
+++ b/ChangeLog	Thu Oct 19 22:34:22 2000 +0000
@@ -4,6 +4,7 @@
 	* multiple connections
 	* logs now stored to ~/.gaim/logs rather than ~/.gaim/SN/
 	* protocol plugins
+	* user configurable sounds
 
 version 0.10.3 (10/09/2000):
 	* Segfault when viewing user info fixed
--- a/plugins/irc.c	Thu Oct 19 10:44:59 2000 +0000
+++ b/plugins/irc.c	Thu Oct 19 22:34:22 2000 +0000
@@ -46,12 +46,29 @@
 #include "pixmaps/cancel.xpm"
 #include "pixmaps/ok.xpm"
 
+static char *irc_name() {
+	return "IRC";
+}
+
+char *name() {
+	return "IRC";
+}
+
+char *description() {
+	return "Allows gaim to use the IRC protocol";
+}
+
+void irc_login(struct aim_user *user) {
+	
+}
+
+
 struct prpl *irc_init() {
 	struct prpl *ret = g_new0(struct prpl, 1);
 
-	ret->protocol = NULL;
-	ret->name = NULL;
-	ret->login = NULL;
+	ret->protocol = PROTO_IRC;
+	ret->name = irc_name;
+	ret->login = irc_login;
 	ret->close = NULL;
 	ret->send_im = NULL;
 	ret->set_info = NULL;