~ubuntu-branches/ubuntu/karmic/irssi-plugin-xmpp/karmic

« back to all changes in this revision

Viewing changes to src/core/xep/muc-nicklist.c

  • Committer: Bazaar Package Importer
  • Author(s): David Ammouial
  • Date: 2009-06-19 23:14:39 UTC
  • mfrom: (1.1.4 upstream) (2.2.1 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090619231439-xmcr03qdpzswarvi
Tags: 0.13+cvs20090617-1
* New CVS snapshot:
  - Some bugfixes and code cleanup.
  - Allow to build on ia64 (Closes: #530304).
* Bump Standards-Version to 3.8.2 (no changes). 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * $Id: muc-nicklist.c,v 1.2 2009/03/31 17:35:35 cdidier Exp $
 
2
 * $Id: muc-nicklist.c,v 1.3 2009/06/03 15:18:17 cdidier Exp $
3
3
 *
4
4
 * Copyright (C) 2007 Colin DIDIER
5
5
 *
179
179
        switch (affiliation) {
180
180
        case XMPP_NICKLIST_AFFILIATION_OWNER:
181
181
                nick->prefixes[0] = '&';
182
 
                nick->prefixes[1] = NULL;
 
182
                nick->prefixes[1] = '\0';
183
183
                nick->op = TRUE;
184
184
                break;
185
185
        case XMPP_NICKLIST_AFFILIATION_ADMIN:
186
 
                nick->prefixes[0] = NULL;
 
186
                nick->prefixes[0] = '\0';
187
187
                nick->op = TRUE;
188
188
                break;
189
189
        default:
190
 
                nick->prefixes[0] = NULL;
 
190
                nick->prefixes[0] = '\0';
191
191
                nick->op = FALSE;
192
192
        }
193
193
        switch (role) {