[ekiga] Made opal's account class do something when not Account::H323 instead of only when Account::SIP



commit cef039c1c59623c592769d7cc019c1596be65397
Author: Julien Puydt <jpuydt free fr>
Date:   Tue Feb 5 20:45:39 2013 +0100

    Made opal's account class do something when not Account::H323 instead of only when Account::SIP

 lib/engine/components/opal/opal-account.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 42dff5d..96ded16 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -151,7 +151,7 @@ Opal::Account::Account (boost::shared_ptr<Opal::Sip::EndPoint> _sip_endpoint,
   else
     type = Account::H323;
 
-  if (type == Account::SIP) {
+  if (type != Account::H323) {
 
     if (name.find ("%limit") != std::string::npos)
       compat_mode = SIPRegister::e_CannotRegisterMultipleContacts;  // start registration in this compat mode



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]