diff plugins/irc.c @ 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 cf6662982b40
children 4867280dbdc7
line wrap: on
line diff
--- 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;