aboutsummaryrefslogtreecommitdiff
path: root/xmpp-vala/src/module/sasl.vala
diff options
context:
space:
mode:
authorfiaxh <git@mx.ax.lt>2017-08-12 23:27:20 +0200
committerfiaxh <git@mx.ax.lt>2017-08-14 22:38:17 +0200
commitb0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e (patch)
tree9ee146149360fa87a123c77e8d983ae393ed8f8f /xmpp-vala/src/module/sasl.vala
parenta59f728bdd7b81964a460b96b6c56da0d9dfda01 (diff)
downloaddino-b0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e.tar.gz
dino-b0264b3e0034ddd9ea76d0e13bb4c3c709ba3b3e.zip
xmpp-vala: Remove require-functions
Diffstat (limited to 'xmpp-vala/src/module/sasl.vala')
-rw-r--r--xmpp-vala/src/module/sasl.vala4
1 files changed, 0 insertions, 4 deletions
diff --git a/xmpp-vala/src/module/sasl.vala b/xmpp-vala/src/module/sasl.vala
index dee9d3e6..d15c4549 100644
--- a/xmpp-vala/src/module/sasl.vala
+++ b/xmpp-vala/src/module/sasl.vala
@@ -88,10 +88,6 @@ namespace Xmpp.PlainSasl {
}
}
- public static void require(XmppStream stream) {
- if (stream.get_module(IDENTITY) == null) stderr.printf("PlainSaslModule required but not attached!\n");
- }
-
private static uchar[] get_plain_bytes(string name_s, string password_s) {
var name = name_s.to_utf8();
var password = password_s.to_utf8();