Skip to content

Commit

Permalink
registrars: add set_status() method
Browse files Browse the repository at this point in the history
  • Loading branch information
ceyusa committed May 31, 2013
1 parent c6def94 commit eb8103e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions registrar.vala
Expand Up @@ -35,6 +35,12 @@ public class Registrars {
}
return null;
}

public void set_status (string aor, StatusCodes status) {
Registrar reg = find (aor);
if (reg != null)
reg.status = status;
}
}

public class Registrar : Object {
Expand Down

0 comments on commit eb8103e

Please sign in to comment.